summaryrefslogtreecommitdiff
path: root/t/t7300-clean.sh
diff options
context:
space:
mode:
authorLibravatar Calvin Wan <calvinwan@google.com>2021-11-11 22:00:48 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-11-11 14:53:18 -0800
commit74db416c9c3bf829b0d0641e74c252bf53da0158 (patch)
treee97083e08cfb015cdb8c3ccf478f85b751f0b404 /t/t7300-clean.sh
parentMerge branch 'vd/pthread-setspecific-g11-fix' into maint (diff)
downloadtgif-74db416c9c3bf829b0d0641e74c252bf53da0158.tar.xz
protocol-v2.txt: align delim-pkt spec with usage
The current protocol EBNF allows command-request to end with the capability list, if no command specific arguments follow, but the protocol requires that after the capability list, there must be a delim-pkt regardless of the number of command specific arguments. Fixed the EBNF to match. Both JGit and libgit2's implementation has the delim-pkt as mandatory. JGit's code is not publicly linkable, but libgit2 is linked below[1]. As for currently implemented commands on v2 (ls-ref and fetch), the delim packet is already being passed through [1]: https://github.com/libgit2/libgit2/blob/main/src/transports/git.c Reported-by: Ivan Frade <ifrade@google.com> Signed-off-by: Calvin Wan <calvinwan@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t7300-clean.sh')
0 files changed, 0 insertions, 0 deletions