Merge branch 'jh/loose-object-dirs-creation-race' into maint
authorJunio C Hamano <gitster@pobox.com>
Tue, 17 Dec 2013 19:32:50 +0000 (11:32 -0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 17 Dec 2013 19:32:50 +0000 (11:32 -0800)
commita5d56530e0788fa7ffcae129355ec1eb401621df
tree4fda678d738690432510c71b62e5366ffc80ac3e
parent4766036ecdee2d45b5a955409da5e6751c3e2f05
parentb2476a60bd92d89d85f16c3b614da54db2ebee1b
Merge branch 'jh/loose-object-dirs-creation-race' into maint

Two processes creating loose objects at the same time could have
failed unnecessarily when the name of their new objects started
with the same byte value, due to a race condition.

* jh/loose-object-dirs-creation-race:
  sha1_file.c:create_tmpfile(): Fix race when creating loose object dirs
sha1_file.c