summaryrefslogtreecommitdiff
path: root/merge-recursive.h
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2010-05-08 22:34:47 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2010-05-08 22:34:47 -0700
commitf78eeeaf55a4f60a05d3e6452f29a2214c29b6fd (patch)
tree24d7d6f25b0bdf61cc6bd50a81b1e5500bb89265 /merge-recursive.h
parentMerge branch 'sc/http-late-auth' (diff)
parentrevert: add "--strategy" option to choose merge strategy (diff)
downloadtgif-f78eeeaf55a4f60a05d3e6452f29a2214c29b6fd.tar.xz
Merge branch 'cc/revert-strategy'
* cc/revert-strategy: revert: add "--strategy" option to choose merge strategy merge: make function try_merge_command non static merge: refactor code that calls "git merge-STRATEGY" revert: refactor merge recursive code into its own function revert: use strbuf to refactor the code that writes the merge message Conflicts: builtin/revert.c
Diffstat (limited to 'merge-recursive.h')
-rw-r--r--merge-recursive.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/merge-recursive.h b/merge-recursive.h
index d1192f56d7..0cc465ec5d 100644
--- a/merge-recursive.h
+++ b/merge-recursive.h
@@ -54,4 +54,7 @@ int merge_recursive_generic(struct merge_options *o,
void init_merge_options(struct merge_options *o);
struct tree *write_tree_from_memory(struct merge_options *o);
+/* builtin/merge.c */
+int try_merge_command(const char *strategy, struct commit_list *common, const char *head_arg, struct commit_list *remotes);
+
#endif