summaryrefslogtreecommitdiff
path: root/t/t0063-string-list.sh
diff options
context:
space:
mode:
authorLibravatar Elijah Newren <newren@gmail.com>2020-02-19 17:04:07 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-02-19 10:13:31 -0800
commitfb1c18fc466c6a9c6ea1b072c9db93c0046f4cbd (patch)
treecdfbb1797f22a09505afd92d0e17e1cc22c3a837 /t/t0063-string-list.sh
parentt3433: new rebase testcase documenting a stat-dirty-like failure (diff)
downloadtgif-fb1c18fc466c6a9c6ea1b072c9db93c0046f4cbd.tar.xz
merge-recursive: fix the refresh logic in update_file_flags
If we need to delete a higher stage entry in the index to place the file at stage 0, then we'll lose that file's stat information. In such situations we may still be able to detect that the file on disk is the version we want (as noted by our comment in the code: /* do not overwrite file if already present */ ), but we do still need to update the mtime since we are creating a new cache_entry for that file. Update the logic used to determine whether we refresh a file's mtime. Signed-off-by: Elijah Newren <newren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t0063-string-list.sh')
0 files changed, 0 insertions, 0 deletions