Document that merge strategies can now take their own options
[gitweb.git] / merge-recursive.h
index fd138ca14006843a7ce0c38cfde4de580d5ce36e..e63df9d63b23f2c5458620007ed6e770aa2b1047 100644 (file)
@@ -6,7 +6,12 @@
 struct merge_options {
        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;