Re: [RFC/WIP PATCH 02/11] upload-pack: only accept capabilities on the first "want" line

2015-05-26 Thread Stefan Beller
On Tue, May 26, 2015 at 3:17 PM, Junio C Hamano wrote: > Stefan Beller writes: > >> From: Nguyễn Thái Ngọc Duy >> >> pack-protocol.txt says so and fetch-pack also follows it even though >> upload-pack is a bit lax. Fix it. > > Hmm, I actually think the .txt file unsuccessfully tried to close > t

Re: [RFC/WIP PATCH 02/11] upload-pack: only accept capabilities on the first "want" line

2015-05-26 Thread Junio C Hamano
Stefan Beller writes: > From: Nguyễn Thái Ngọc Duy > > pack-protocol.txt says so and fetch-pack also follows it even though > upload-pack is a bit lax. Fix it. Hmm, I actually think the .txt file unsuccessfully tried to close the barn door after horse has long left. The existing clients that r

[RFC/WIP PATCH 02/11] upload-pack: only accept capabilities on the first "want" line

2015-05-26 Thread Stefan Beller
From: Nguyễn Thái Ngọc Duy pack-protocol.txt says so and fetch-pack also follows it even though upload-pack is a bit lax. Fix it. Signed-off-by: Nguyễn Thái Ngọc Duy Signed-off-by: Stefan Beller --- upload-pack.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/upload