author | Junio C Hamano <gitster@pobox.com> | |
Thu, 28 Aug 2008 08:10:04 +0000 (01:10 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 31 Aug 2008 02:41:43 +0000 (19:41 -0700) | ||
commit | e0af48e49682ea3345f932f6b9e7fa7c5e5e611a | |
tree | 43cd383edc42ef508071fa6886a9e1fe10a7d281 | tree | snapshot |
parent | f2b25dd81f4ccbf42700bd15feeb2becf10331ab | commit | diff |
xdiff-merge: optionally show conflicts in "diff3 -m" style
When showing conflicting merges, we traditionally followed RCS's merge
output format. The output shows:
<<<<<<<
postimage from one side;
=======
postimage of the other side; and
>>>>>>>
Some poeple find it easier to be able to understand what is going on when
they can view the common ancestor's version, which is used by "diff3 -m",
which shows:
<<<<<<<
postimage from one side;
|||||||
shared preimage;
=======
postimage of the other side; and
>>>>>>>
This is an initial step to bring that as an optional feature to git.
Only "git merge-file" has been converted, with "--diff3" option.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
When showing conflicting merges, we traditionally followed RCS's merge
output format. The output shows:
<<<<<<<
postimage from one side;
=======
postimage of the other side; and
>>>>>>>
Some poeple find it easier to be able to understand what is going on when
they can view the common ancestor's version, which is used by "diff3 -m",
which shows:
<<<<<<<
postimage from one side;
|||||||
shared preimage;
=======
postimage of the other side; and
>>>>>>>
This is an initial step to bring that as an optional feature to git.
Only "git merge-file" has been converted, with "--diff3" option.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-merge-file.c | diff | blob | history | |
t/t6023-merge-file.sh | diff | blob | history | |
xdiff/xdiff.h | diff | blob | history | |
xdiff/xmerge.c | diff | blob | history |