Re: [PATCH 3/4] get_packed_refs: reload packed-refs file when it changes

2013-05-12 Thread Michael Haggerty
On 05/07/2013 04:43 AM, Jeff King wrote: > Once we read the packed-refs file into memory, we cache it > to save work on future ref lookups. However, our cache may > be out of date with respect to what is on disk if another > process is simultaneously packing the refs. Normally it > is acceptable fo

Re: [PATCH 3/4] get_packed_refs: reload packed-refs file when it changes

2013-05-09 Thread Eric Sunshine
On Mon, May 6, 2013 at 10:43 PM, Jeff King wrote: > Once we read the packed-refs file into memory, we cache it > to save work on future ref lookups. However, our cache may > be out of date with respect to what is on disk if another > process is simultaneously packing the refs. Normally it > is acc

[PATCH 3/4] get_packed_refs: reload packed-refs file when it changes

2013-05-06 Thread Jeff King
Once we read the packed-refs file into memory, we cache it to save work on future ref lookups. However, our cache may be out of date with respect to what is on disk if another process is simultaneously packing the refs. Normally it is acceptable for us to be a little out of date, since there is no