fmt-merge-msg: refactor merge title formatting
[gitweb.git] / merge-recursive.h
index d8bc7299ee3a70484b2436afd3799fe6f7608422..d1192f56d797a1664f5bfb5028d52ad679928e23 100644 (file)
@@ -4,9 +4,15 @@
 #include "string-list.h"
 
 struct merge_options {
+       const char *ancestor;
        const char *branch1;
        const char *branch2;
-       unsigned subtree_merge : 1;
+       enum {
+               MERGE_RECURSIVE_NORMAL = 0,
+               MERGE_RECURSIVE_OURS,
+               MERGE_RECURSIVE_THEIRS,
+       } recursive_variant;
+       const char *subtree_shift;
        unsigned buffer_output : 1;
        int verbosity;
        int diff_rename_limit;