summaryrefslogtreecommitdiff
path: root/include/git2/merge.h
diff options
context:
space:
mode:
authorScott J. Goldman <scottjg@github.com>2012-11-28 18:27:43 -0800
committerScott J. Goldman <scottjg@github.com>2012-11-28 18:54:57 -0800
commit0984c8768d36c73adeabe0229960e651531edf17 (patch)
treed8002b68a51c99f4c57b6bd26c1d4a0eee13bdbb /include/git2/merge.h
parentc6d03c958fc5604c8a00c9a512ec342caa3e43ef (diff)
downloadlibgit2-0984c8768d36c73adeabe0229960e651531edf17.tar.gz
Rename git_count_ahead_behind -> git_graph_ahead_behind
Moved it into graph.{c,h} which i created for the new "graph" functions namespace. Also adjusted the function prototype to use `size_t` and `const git_oid *`.
Diffstat (limited to 'include/git2/merge.h')
-rw-r--r--include/git2/merge.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/include/git2/merge.h b/include/git2/merge.h
index 928c4758c..59493969c 100644
--- a/include/git2/merge.h
+++ b/include/git2/merge.h
@@ -50,17 +50,6 @@ GIT_EXTERN(int) git_merge_base_many(
const git_oid input_array[],
size_t length);
-/**
- * Count the number of unique commits between two commit objects
- *
- * @param ahead number of commits, starting at `one`, unique from commits in `two`
- * @param behind number of commits, starting at `two`, unique from commits in `one`
- * @param repo the repository where the commits exist
- * @param one one of the commits
- * @param two the other commit
- */
-GIT_EXTERN(int) git_count_ahead_behind(int *ahead, int *behind, git_repository *repo, git_oid *one, git_oid *two);
-
/** @} */
GIT_END_DECL
#endif