aboutsummaryrefslogtreecommitdiff
path: root/entry.c
Commit message (Collapse)AuthorAge
* Fix replacing of a directory with a file/symlink in git-checkout-cacheLinus Torvalds2005-07-14
| | | | | | | | 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.
* Make "git-checkout" create files with O_EXCLLinus Torvalds2005-07-13
| | | | | | | | We should always have unlinked any old ones before, but this just makes sure that we never over-write any old file. A quick "grep" now shows that all the core tools that open files for writing use O_EXCL, ie we never overwrite an existing file in place.
* [PATCH] Let umask do its work upon filesystem object creation.Junio C Hamano2005-07-06
| | | | | | | | IIRC our strategy was to let the users' umask take care of the final mode bits. This patch fixes places that deviate from it. Signed-off-by: Junio C Hamano <junkio@cox.net> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* Fix entry.c dependency and compile problemLinus Torvalds2005-06-05
| | | | Bad Linus.
* Make fiel checkout function available to the git libraryLinus Torvalds2005-06-05
The merge stuff will want it soon, and we don't want to duplicate all the work..