summaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@g5.osdl.org>2005-07-14 16:58:45 (GMT)
committerLinus Torvalds <torvalds@g5.osdl.org>2005-07-14 16:58:45 (GMT)
commitd48a72f337fa8edfb7a09e620e75cbbb2a5fe836 (patch)
tree9a8151ea125e529ed6a5550e465ea579cc13a6c2 /cache.h
parentd1918a728574a627e2a9e0dfc087cfd58e9d8acd (diff)
downloadgit-d48a72f337fa8edfb7a09e620e75cbbb2a5fe836.zip
git-d48a72f337fa8edfb7a09e620e75cbbb2a5fe836.tar.gz
git-d48a72f337fa8edfb7a09e620e75cbbb2a5fe836.tar.bz2
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 'cache.h')
0 files changed, 0 insertions, 0 deletions