Re: [PATCH] shallow: clear shallow cache when committing lock

2018-12-17 Thread Jonathan Nieder
Hi, Jonathan Tan wrote: > When setup_alternate_shallow() is invoked a second time in the same > process, it fails with the error "shallow file has changed since we read > it". One way of reproducing this is to fetch using protocol v2 in such a > way that backfill_tags() is required, and that the

[PATCH] shallow: clear shallow cache when committing lock

2018-12-17 Thread Jonathan Tan
When setup_alternate_shallow() is invoked a second time in the same process, it fails with the error "shallow file has changed since we read it". One way of reproducing this is to fetch using protocol v2 in such a way that backfill_tags() is required, and that the responses to both requests contain