diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-14 09:58:45 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-14 09:58:45 -0700 |
commit | d48a72f337fa8edfb7a09e620e75cbbb2a5fe836 (patch) | |
tree | 9a8151ea125e529ed6a5550e465ea579cc13a6c2 /cache.h | |
parent | d1918a728574a627e2a9e0dfc087cfd58e9d8acd (diff) | |
download | git-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 'cache.h')
0 files changed, 0 insertions, 0 deletions