diff options
author | Bert Wesarg <bert.wesarg@googlemail.com> | 2010-03-01 22:46:28 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-03-02 21:16:45 -0800 |
commit | 3a15048d833e2d6599091a9f7c14b0fa926c3bbf (patch) | |
tree | e86addd828c1c6486573adfda5fea9083681e391 /builtin-merge-file.c | |
parent | 11f3aa2305426d11945c72479d24a15d30768d50 (diff) | |
download | git-3a15048d833e2d6599091a9f7c14b0fa926c3bbf.tar.gz |
merge-file: add option to select union merge favor
Signed-off-by: Bert Wesarg <bert.wesarg@googlemail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin-merge-file.c')
-rw-r--r-- | builtin-merge-file.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/builtin-merge-file.c b/builtin-merge-file.c index fec15cc1ff..69cc683332 100644 --- a/builtin-merge-file.c +++ b/builtin-merge-file.c @@ -36,6 +36,8 @@ int cmd_merge_file(int argc, const char **argv, const char *prefix) XDL_MERGE_FAVOR_OURS), OPT_SET_INT(0, "theirs", &xmp.favor, "for conflicts, use their version", XDL_MERGE_FAVOR_THEIRS), + OPT_SET_INT(0, "union", &xmp.favor, "for conflicts, use a union version", + XDL_MERGE_FAVOR_UNION), OPT_INTEGER(0, "marker-size", &xmp.marker_size, "for conflicts, use this marker size"), OPT__QUIET(&quiet), |