diff options
author | Elijah Newren <newren@gmail.com> | 2020-08-10 22:29:17 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-08-10 15:59:01 -0700 |
commit | 2a7c16c9802b25de3497f60b2f3776d1a02477bb (patch) | |
tree | 74fbe7612b152c8235e45602cf68b8d8a0f4cd85 /linear-assignment.h | |
parent | t6423: add an explanation about why one of the tests does not pass (diff) | |
download | tgif-2a7c16c9802b25de3497f60b2f3776d1a02477bb.tar.xz |
t6422, t6426: be more flexible for add/add conflicts involving renames
merge-recursive treats an add/add conflict where one of the adds came
from a rename as a separate 'rename/add' type of conflict. However, if
there is not content conflict after the content merge(s), then the file
is not considered to be conflicted. That suggests the conflict type is
really just add/add. Other merge engines might choose to print messages
to the console that just refer to these as add/add conflicts; accept
both types of output.
Note: it could help to notify users if the three-way content merge of
the rename had content conflicts, because when we then go to two-way
merge THAT with the conflicting add we can get nested conflict markers.
merge-recursive, unfortunately, doesn't do that, but other merge engines
could.
Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'linear-assignment.h')
0 files changed, 0 insertions, 0 deletions