diff options
author | Junio C Hamano <gitster@pobox.com> | 2013-06-30 15:39:47 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-06-30 15:39:47 -0700 |
commit | d1314826935392d38e3bb2df754762a402d0af00 (patch) | |
tree | 369c715f5349c997fc00816415fe390f625dfefb /t/t6038-merge-text-auto.sh | |
parent | Merge branch 'nk/name-rev-abbreviated-refs' (diff) | |
parent | resolve_ref_unsafe(): close race condition reading loose refs (diff) | |
download | tgif-d1314826935392d38e3bb2df754762a402d0af00.tar.xz |
Merge branch 'mh/loose-refs-race-with-pack-ref'
We read loose and packed rerferences in two steps, but after
deciding to read a loose ref but before actually opening it to read
it, another process racing with us can unlink it, which would cause
us to barf. Update the codepath to retry when such a race is
detected.
* mh/loose-refs-race-with-pack-ref:
resolve_ref_unsafe(): close race condition reading loose refs
resolve_ref_unsafe(): handle the case of an SHA-1 within loop
resolve_ref_unsafe(): extract function handle_missing_loose_ref()
Diffstat (limited to 't/t6038-merge-text-auto.sh')
0 files changed, 0 insertions, 0 deletions