Re: [PATCH 10/27] upload-pack: move rev-list code out of check_non_tip()

2016-06-10 Thread Junio C Hamano
Nguyễn Thái Ngọc Duy writes: > -static void check_non_tip(void) > +static int check_unreachable(struct object_array *src) > { >... > /* All the non-tip ones are ancestors of what we advertised */ > - return; > + return 1; > > error: > if (cmd.in >= 0) > clos

[PATCH 10/27] upload-pack: move rev-list code out of check_non_tip()

2016-06-10 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy --- upload-pack.c | 36 +++- 1 file changed, 23 insertions(+), 13 deletions(-) diff --git a/upload-pack.c b/upload-pack.c index 1e8b025..b6f3756 100644 --- a/upload-pack.c +++ b/upload-pack.c @@ -451,7 +451,7 @@ static int is_ou