about summary refs log tree commit diff
path: root/third_party/git/commit-reach.h
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/git/commit-reach.h')
-rw-r--r--third_party/git/commit-reach.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/third_party/git/commit-reach.h b/third_party/git/commit-reach.h
index 99a43e8b64fc..b49ad71a3177 100644
--- a/third_party/git/commit-reach.h
+++ b/third_party/git/commit-reach.h
@@ -27,7 +27,9 @@ struct commit_list *repo_get_merge_bases_many_dirty(struct repository *r,
 
 struct commit_list *get_octopus_merge_bases(struct commit_list *in);
 
-int is_descendant_of(struct commit *commit, struct commit_list *with_commit);
+int repo_is_descendant_of(struct repository *r,
+			  struct commit *commit,
+			  struct commit_list *with_commit);
 int repo_in_merge_bases(struct repository *r,
 			struct commit *commit,
 			struct commit *reference);