summaryrefslogtreecommitdiff
path: root/src/annotated_commit.h
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2015-10-28 11:00:55 -0400
committerEdward Thomson <ethomson@microsoft.com>2015-11-25 15:37:57 -0500
commit3f2bb387a43185991d7e077fa5e6c0bb467f2abc (patch)
tree3e95f14ff4923d2469cf3bf6f9de34504eaefe4e /src/annotated_commit.h
parentb1eef912cffb9e3ce9792b6aee816c1a45c85fb0 (diff)
downloadlibgit2-3f2bb387a43185991d7e077fa5e6c0bb467f2abc.tar.gz
merge: octopus merge common ancestors when >2
When there are more than two common ancestors, continue merging the virtual base with the additional common ancestors, effectively octopus merging a new virtual base.
Diffstat (limited to 'src/annotated_commit.h')
-rw-r--r--src/annotated_commit.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/annotated_commit.h b/src/annotated_commit.h
index e873184ae..37e3d9951 100644
--- a/src/annotated_commit.h
+++ b/src/annotated_commit.h
@@ -19,4 +19,7 @@ struct git_annotated_commit {
char id_str[GIT_OID_HEXSZ+1];
};
+extern int git_annotated_commit_from_head(git_annotated_commit **out,
+ git_repository *repo);
+
#endif