aboutsummaryrefslogtreecommitdiff
path: root/commit.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2008-08-20 23:41:38 -0700
committerJunio C Hamano <gitster@pobox.com>2008-08-20 23:41:38 -0700
commit0569d7566e07f482ba8e7fa9dc629d987435513a (patch)
treed7cd8da6f42f1869658cdeb36feaa843ede54d94 /commit.h
parentf02fa3360510c6a2b75d2b52b8d1636788ab2605 (diff)
parentc5dc9a28298afb75d2be6b212d420fc89c258aa0 (diff)
downloadgit-0569d7566e07f482ba8e7fa9dc629d987435513a.tar.xz
Merge branch 'cc/merge-base-many'
* cc/merge-base-many: git-merge-octopus: use (merge-base A (merge B C D E...)) for stepwise merge merge-base-many: add trivial tests based on the documentation documentation: merge-base: explain "git merge-base" with more than 2 args merge-base: teach "git merge-base" to drive underlying merge_bases_many()
Diffstat (limited to 'commit.h')
-rw-r--r--commit.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/commit.h b/commit.h
index 77de9621d9..d163c7487b 100644
--- a/commit.h
+++ b/commit.h
@@ -121,6 +121,7 @@ int read_graft_file(const char *graft_file);
struct commit_graft *lookup_commit_graft(const unsigned char *sha1);
extern struct commit_list *get_merge_bases(struct commit *rev1, struct commit *rev2, int cleanup);
+extern struct commit_list *get_merge_bases_many(struct commit *one, int n, struct commit **twos, int cleanup);
extern struct commit_list *get_octopus_merge_bases(struct commit_list *in);
extern int register_shallow(const unsigned char *sha1);