summaryrefslogtreecommitdiff
path: root/list.h
diff options
context:
space:
mode:
authorLibravatar Elijah Newren <newren@gmail.com>2020-10-26 17:01:39 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-10-26 12:31:24 -0700
commit727c75b23f25f752810f412e936d420f5c7fee04 (patch)
treea669f9bf64d7ff86066ec4703a954805e0288bae /list.h
parentt6416: correct expectation for rename/rename(1to2) + directory/file (diff)
downloadtgif-727c75b23f25f752810f412e936d420f5c7fee04.tar.xz
t6404, t6423: expect improved rename/delete handling in ort backend
When a file is renamed and has content conflicts, merge-recursive does not have some stages for the old filename and some stages for the new filename in the index; instead it copies all the stages corresponding to the old filename over to the corresponding locations for the new filename, so that there are three higher order stages all corresponding to the new filename. Doing things this way makes it easier for the user to access the different versions and to resolve the conflict (no need to manually 'git rm' the old version as well as 'git add' the new one). rename/deletes should be handled similarly -- there should be two stages for the renamed file rather than just one. We do not want to destabilize merge-recursive right now, so instead update relevant tests to have different expectations depending on whether the "recursive" or "ort" merge strategies are in use. Signed-off-by: Elijah Newren <newren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'list.h')
0 files changed, 0 insertions, 0 deletions