mirror of
https://github.com/git/git.git
synced 2026-04-23 00:22:14 +02:00
d48a72f337
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.
3.6 KiB
3.6 KiB