Re: [PATCH 1/4] fetch-pack: save shallow file before fetching the pack

2013-04-04 Thread Duy Nguyen
On Tue, Apr 2, 2013 at 1:53 AM, Junio C Hamano wrote: > Nguyễn Thái Ngọc Duy writes: > >> index-pack --strict looks up and follows parent commits. If shallow >> information is not ready by the time index-pack is run, index-pack may >> be lead to non-existent objects. Make fetch-pack save shallow

Re: [PATCH 1/4] fetch-pack: save shallow file before fetching the pack

2013-04-01 Thread Junio C Hamano
Nguyễn Thái Ngọc Duy writes: > index-pack --strict looks up and follows parent commits. If shallow > information is not ready by the time index-pack is run, index-pack may > be lead to non-existent objects. Make fetch-pack save shallow file to > disk before invoking index-pack. I think the prob

[PATCH 1/4] fetch-pack: save shallow file before fetching the pack

2013-03-31 Thread Nguyễn Thái Ngọc Duy
index-pack --strict looks up and follows parent commits. If shallow information is not ready by the time index-pack is run, index-pack may be lead to non-existent objects. Make fetch-pack save shallow file to disk before invoking index-pack. Signed-off-by: Nguyễn Thái Ngọc Duy --- fetch-pack.c