Re: [PATCH v3 07/28] shallow.c: add remove_reachable_shallow_points()

2013-11-26 Thread Duy Nguyen
On Tue, Nov 26, 2013 at 4:53 AM, Junio C Hamano wrote: > Nguyễn Thái Ngọc Duy writes: > >> When we receive a pack and the shallow points from another repository, >> we may want to add more shallow points to current repo to make sure no >> commits point to nowhere. However we do not want to add u

Re: [PATCH v3 07/28] shallow.c: add remove_reachable_shallow_points()

2013-11-25 Thread Junio C Hamano
Nguyễn Thái Ngọc Duy writes: > When we receive a pack and the shallow points from another repository, > we may want to add more shallow points to current repo to make sure no > commits point to nowhere. However we do not want to add unnecessary > shallow points and cut our history short because

[PATCH v3 07/28] shallow.c: add remove_reachable_shallow_points()

2013-11-24 Thread Nguyễn Thái Ngọc Duy
When we receive a pack and the shallow points from another repository, we may want to add more shallow points to current repo to make sure no commits point to nowhere. However we do not want to add unnecessary shallow points and cut our history short because the other end is a shallow version of th