summaryrefslogtreecommitdiff
path: root/checkout-cache.c
diff options
context:
space:
mode:
authorLibravatar Linus Torvalds <torvalds@g5.osdl.org>2005-07-13 17:27:48 -0700
committerLibravatar Linus Torvalds <torvalds@g5.osdl.org>2005-07-13 17:27:48 -0700
commit2408cff9f738459019709c8c12d0bd8a5605566f (patch)
tree9baa5e67c470376b09cbcc4cb68ef80654753e1f /checkout-cache.c
parentgit-apply: be a lot more careful when writing files (diff)
downloadtgif-2408cff9f738459019709c8c12d0bd8a5605566f.tar.xz
Make "git-checkout" create files with O_EXCL
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.
Diffstat (limited to 'checkout-cache.c')
0 files changed, 0 insertions, 0 deletions