aboutsummaryrefslogtreecommitdiff
path: root/tree.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@g5.osdl.org>2005-07-14 09:58:45 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2005-07-14 09:58:45 -0700
commitd48a72f337fa8edfb7a09e620e75cbbb2a5fe836 (patch)
tree9a8151ea125e529ed6a5550e465ea579cc13a6c2 /tree.c
parentd1918a728574a627e2a9e0dfc087cfd58e9d8acd (diff)
downloadgit-d48a72f337fa8edfb7a09e620e75cbbb2a5fe836.tar.gz
git-d48a72f337fa8edfb7a09e620e75cbbb2a5fe836.tar.xz
Fix replacing of a directory with a file/symlink in git-checkout-cache
The symlink case had never worked, and the file case was broken by the O_EXCL change because the error return changed from EISDIR to EEXIST. Fix both problems by just moving the test for an existing directory to a more logical place.
Diffstat (limited to 'tree.c')
0 files changed, 0 insertions, 0 deletions