]> git.ipfire.org Git - thirdparty/git.git/commit - t/t6024-recursive-merge.sh
ll-merge: use a longer conflict marker for internal merge
authorJunio C Hamano <gitster@pobox.com>
Thu, 14 Apr 2016 22:35:09 +0000 (15:35 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 9 May 2016 22:42:16 +0000 (15:42 -0700)
commitd694a17986a28bbc19e2a6c32404ca24572e400f
treed6fe8a53fb759e62dcb10143124ad3a695aed152
parented34567c7bb1f3747255ca0301b84abad6d06712
ll-merge: use a longer conflict marker for internal merge

The primary use of conflict markers is to help the user who resolves
the final (outer) merge by hand to show which part came from which
branch by separating the blocks of lines apart.  When the conflicted
parts from a "virtual ancestor" merge created by merge-recursive
remains in the common ancestor part in the final result, however,
the conflict markers that are the same size as the final merge
become harder to see.

Increase the conflict marker size slightly for these inner merges so
that the markers from the final merge and cruft from internal merge
can be distinguished more easily.

This would help reduce the common issue that prevents "rerere" from
being used on a really complex conflict.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
ll-merge.c
t/t6024-recursive-merge.sh
t/t6036-recursive-corner-cases.sh