summaryrefslogtreecommitdiff
path: root/help.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@woody.linux-foundation.org>2008-03-22 16:48:41 (GMT)
committerJunio C Hamano <gitster@pobox.com>2008-04-09 08:22:25 (GMT)
commit1fa6ead492c81bffdbe336373e5b162d3b5ac6d3 (patch)
tree3a712ef3bb88ae00f317300f4368cee790149519 /help.c
parent32260ad5dbc3100ebb5e05432198888bfbe600f8 (diff)
downloadgit-1fa6ead492c81bffdbe336373e5b162d3b5ac6d3.zip
git-1fa6ead492c81bffdbe336373e5b162d3b5ac6d3.tar.gz
git-1fa6ead492c81bffdbe336373e5b162d3b5ac6d3.tar.bz2
Make unpack-tree update removed files before any updated files
This is immaterial on sane filesystems, but if you have a broken (aka case-insensitive) filesystem, and the objective is to remove the file 'abc' and replace it with the file 'Abc', then we must make sure to do the removal first. Otherwise, you'd first update the file 'Abc' - which would just overwrite the file 'abc' due to the broken case-insensitive filesystem - and then remove file 'abc' - which would now brokenly remove the just updated file 'Abc' on that broken filesystem. By doing removals first, this won't happen. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'help.c')
0 files changed, 0 insertions, 0 deletions