summaryrefslogtreecommitdiff
path: root/Documentation/git-cherry-pick.txt
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2007-04-20 05:48:21 (GMT)
committerJunio C Hamano <junkio@cox.net>2007-04-20 05:48:21 (GMT)
commit851c603e9ca9d0954d89be1532d924a28ccb79fa (patch)
treed038d97634b0705a1836095c0a53eb926a2f77ae /Documentation/git-cherry-pick.txt
parent2de00bf9e8815970c61cefaef35efeacd8a7d6de (diff)
downloadgit-851c603e9ca9d0954d89be1532d924a28ccb79fa.zip
git-851c603e9ca9d0954d89be1532d924a28ccb79fa.tar.gz
git-851c603e9ca9d0954d89be1532d924a28ccb79fa.tar.bz2
Fix working directory errno handling when unlinking a directory
Alex Riesen noticed that the case where a file replaced a directory entry in the working tree was broken on cygwin. It turns out that the code made some Linux-specific assumptions, and also ignored errors entirely for the case where the entry was a symlink rather than a file. This cleans it up by separating out the common case into a function of its own, so that both regular files and symlinks can share it, and by making the error handling more obvious (and not depend on any Linux-specific behaviour). Acked-by: Alex Riesen <raa.lkml@gmail.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Documentation/git-cherry-pick.txt')
0 files changed, 0 insertions, 0 deletions