diff options
author | Junio C Hamano <gitster@pobox.com> | 2010-01-20 20:28:50 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-01-20 20:28:50 -0800 |
commit | fcb2a7e4a3c7899a3432f5804889fa3ea5779220 (patch) | |
tree | 0f0785d427c23c7b8dbaae1afcdbd370ea3b639c /merge-recursive.h | |
parent | Merge branch 'nd/status-partial-refresh' (diff) | |
parent | Document that merge strategies can now take their own options (diff) | |
download | tgif-fcb2a7e4a3c7899a3432f5804889fa3ea5779220.tar.xz |
Merge branch 'ap/merge-backend-opts'
* ap/merge-backend-opts:
Document that merge strategies can now take their own options
Extend merge-subtree tests to test -Xsubtree=dir.
Make "subtree" part more orthogonal to the rest of merge-recursive.
pull: Fix parsing of -X<option>
Teach git-pull to pass -X<option> to git-merge
git merge -X<option>
git-merge-file --ours, --theirs
Conflicts:
git-compat-util.h
Diffstat (limited to 'merge-recursive.h')
-rw-r--r-- | merge-recursive.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/merge-recursive.h b/merge-recursive.h index d8bc7299ee..be8410ad18 100644 --- a/merge-recursive.h +++ b/merge-recursive.h @@ -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; |