summaryrefslogtreecommitdiff
path: root/include/git2/graph.h
diff options
context:
space:
mode:
authorlhchavez <lhchavez@lhchavez.com>2021-07-27 13:00:31 -0700
committerlhchavez <lhchavez@lhchavez.com>2021-07-27 13:00:31 -0700
commit8d453f16385c04abfba0211f1e7fb1621f26d609 (patch)
tree8198be68b85ccf4d2e79a6a48d530e13c4fd46e1 /include/git2/graph.h
parentce5400cdc7cc52ace295a9fbd3cd7a6e7c63be34 (diff)
downloadlibgit2-8d453f16385c04abfba0211f1e7fb1621f26d609.tar.gz
Swap the order of the `git_graph_reachable_from_any` params
len, array -> array, len
Diffstat (limited to 'include/git2/graph.h')
-rw-r--r--include/git2/graph.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/git2/graph.h b/include/git2/graph.h
index cd4897fef..712ae474a 100644
--- a/include/git2/graph.h
+++ b/include/git2/graph.h
@@ -68,8 +68,8 @@ GIT_EXTERN(int) git_graph_descendant_of(
GIT_EXTERN(int) git_graph_reachable_from_any(
git_repository *repo,
const git_oid *commit,
- size_t length,
- const git_oid descendant_array[]);
+ const git_oid descendant_array[],
+ size_t length);
/** @} */
GIT_END_DECL