]> git.99rst.org Git - git.git/commit
merge-ort: let renormalization change modify/delete into clean delete
authorElijah Newren <redacted>
Sat, 20 Mar 2021 00:03:47 +0000 (00:03 +0000)
committerJunio C Hamano <redacted>
Sat, 20 Mar 2021 19:35:40 +0000 (12:35 -0700)
commit3860220bfa594a56daa801aaedbdf8ac75b62bb6
treed241fa1cdb25c0d22e3f56b5b6ec4acae6efa20b
parent1218b3ab86ddeea7c10ea3da0a1cdd5c026d1252
merge-ort: let renormalization change modify/delete into clean delete

When we have a modify/delete conflict, but the only change to the
modification is e.g. change of line endings, then if renormalization is
requested then we should be able to recognize such a case as a
not-modified/delete and resolve the conflict automatically.

This fixes t6418.10 under GIT_TEST_MERGE_ALGORITHM=ort.

Signed-off-by: Elijah Newren <redacted>
Reviewed-by: Derrick Stolee <redacted>
Signed-off-by: Junio C Hamano <redacted>
merge-ort.c
git clone https://git.99rst.org/PROJECT