Re: [PATCH] pack-protocol.txt: accept error packets in any context

2018-11-29 Thread Masaya Suzuki
On Thu, Nov 29, 2018 at 3:42 AM Junio C Hamano wrote: > > Masaya Suzuki writes: > > > In the Git pack protocol definition, an error packet may appear only in > > a certain context. However, servers can face a runtime error (e.g. I/O > > error) at an arbitrary

[PATCH] pack-protocol.txt: accept error packets in any context

2018-11-26 Thread Masaya Suzuki
change, the error packet handling code is moved to pkt-line.c. Signed-off-by: Masaya Suzuki --- Documentation/technical/pack-protocol.txt | 20 +++- builtin/archive.c | 2 -- connect.c | 2 -- fetch-pack.c

[PATCH] doc: fix want-capability separator

2018-07-28 Thread Masaya Suzuki
Unlike ref advertisement, client capabilities and the first want are separated by SP, not NUL, in the implementation. Fix the documentation to align with the implementation. pack-protocol.txt is already fixed. Signed-off-by: Masaya Suzuki --- Documentation/technical/http-protocol.txt | 4

[PATCH] builtin/send-pack: populate the default configs

2018-06-12 Thread Masaya Suzuki
builtin/send-pack didn't call git_default_config, and because of this git push --signed didn't respect the username and email in gitconfig in the HTTP transport. Signed-off-by: Masaya Suzuki --- builtin/send-pack.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builtin/send