diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-13 17:25:53 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-13 17:25:53 -0700 |
commit | 1b668341db6576d8d851473c74388031b319798a (patch) | |
tree | a4bd46545e56f19a78e7d3922711c459d7a6ee08 /connect.c | |
parent | dda2d79af2d2858b37bab7f6e088d0730c0959d1 (diff) | |
download | git-1b668341db6576d8d851473c74388031b319798a.tar.gz git-1b668341db6576d8d851473c74388031b319798a.tar.xz |
git-apply: be a lot more careful when writing files
We write them under another name and rename them to their destination,
so that if something bad happens in the middle, we won't have caused any
bigger harm.
Also, this makes the writing be NFS "intr" safe, and as a side effects
makes sure that if the target is hardlinked (or symlinked) we will have
broken the link.
Diffstat (limited to 'connect.c')
0 files changed, 0 insertions, 0 deletions