Merge branch 'jk/has-sha1-file-retry-packed'
commit5ff9f2351a4d4dc31b0b11258d587c95826acc57
authorJunio C Hamano <gitster@pobox.com>
Tue, 17 Sep 2013 18:41:34 +0000 (17 11:41 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 17 Sep 2013 18:41:35 +0000 (17 11:41 -0700)
tree2d8602481448fe260daa2189a238862c8b39fcec
parent541dc4dfa07f70e66e244be566480ed4699b4fc9
parent45e8a7487339c0f0ea28244ef06851308d07387c
Merge branch 'jk/has-sha1-file-retry-packed'

When an object is not found after checking the packfiles and then
loose object directory, read_sha1_file() re-checks the packfiles to
prevent racing with a concurrent repacker; teach the same logic to
has_sha1_file().

* jk/has-sha1-file-retry-packed:
  has_sha1_file: re-check pack directory before giving up
sha1_file.c