summaryrefslogtreecommitdiffstats
path: root/submodule.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2010-08-22 08:27:59 +0200
committerJunio C Hamano <gitster@pobox.com>2010-08-22 08:27:59 +0200
commit2d984464c6be7ced6772a8dcf95d6a461a659a78 (patch)
treeebde8778f17609acc0587524636ec4862c065ca9 /submodule.h
parentMerge branch 'en/rebase-against-rebase-fix' (diff)
parentImplement automatic fast-forward merge for submodules (diff)
downloadgit-2d984464c6be7ced6772a8dcf95d6a461a659a78.tar.xz
git-2d984464c6be7ced6772a8dcf95d6a461a659a78.zip
Merge branch 'hv/submodule-find-ff-merge'
* hv/submodule-find-ff-merge: Implement automatic fast-forward merge for submodules setup_revisions(): Allow walking history in a submodule Teach ref iteration module about submodules Conflicts: submodule.c
Diffstat (limited to 'submodule.h')
-rw-r--r--submodule.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/submodule.h b/submodule.h
index 8ac4037b56..386f410a66 100644
--- a/submodule.h
+++ b/submodule.h
@@ -13,5 +13,7 @@ void show_submodule_summary(FILE *f, const char *path,
unsigned dirty_submodule,
const char *del, const char *add, const char *reset);
unsigned is_submodule_modified(const char *path, int ignore_untracked);
+int merge_submodule(unsigned char result[20], const char *path, const unsigned char base[20],
+ const unsigned char a[20], const unsigned char b[20]);
#endif