Re: [PATCH v2 0/3] Fix a race condition when reading loose refs

2013-06-19 Thread Junio C Hamano
Jeff King writes: > On Wed, Jun 19, 2013 at 08:36:25AM +0200, Michael Haggerty wrote: > >> I took Peff's suggestion to use gotos rather than an infinite loop in >> the last patch, which means that there is no need for the old patch >> 03/04. > > Thanks, this version looks good to me. > > I'm sure

Re: [PATCH v2 0/3] Fix a race condition when reading loose refs

2013-06-19 Thread Jeff King
On Wed, Jun 19, 2013 at 08:36:25AM +0200, Michael Haggerty wrote: > I took Peff's suggestion to use gotos rather than an infinite loop in > the last patch, which means that there is no need for the old patch > 03/04. Thanks, this version looks good to me. I'm sure the Pascal programmers of the w

[PATCH v2 0/3] Fix a race condition when reading loose refs

2013-06-18 Thread Michael Haggerty
This is v2 of mh/loose-refs-race-with-pack-ref I took Peff's suggestion to use gotos rather than an infinite loop in the last patch, which means that there is no need for the old patch 03/04. Michael Haggerty (3): resolve_ref_unsafe(): extract function handle_missing_loose_ref() resolve_ref_u