summaryrefslogtreecommitdiff
path: root/commit.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-05-03 11:46:16 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-05-03 11:46:16 -0700
commitaac17941320f7f73e5d411b152bfd041572e8a66 (patch)
treed9d60eafac14cba0eb18bee4f2c762ed5ed98956 /commit.c
parent92d4c85d248728b1937d01fdd088173753c6994d (diff)
downloadgit-aac17941320f7f73e5d411b152bfd041572e8a66.tar.gz
Improve sha1 object file writing.
Make it much safer: we write to a temporary file, and then link that temporary file to the final destination. This avoids all the nasty races if several people write the same object at the same time. It should also result in nicer on-disk layout, since it means that objects all get created in the same subdirectory. That makes a lot of block allocation algorithms happier, since the objects will now be allocated from the same zone.
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions