Thread (4 messages) 4 messages, 2 authors, 2021-11-11

[RFC PATCH 0/1] protocol-v2.txt: align delim-pkt spec with usage

flat view
STALE1791d

From: Calvin Wan <hidden>
Date: 2021-10-27 19:35:30

In the grammar for a command the "delim-pkt" is optional, and a command could be followed by a "flush-pkt". On the other hand, JGit code is assuming that there is ALWAYS a DELIM package after command. I.e. messages valid following the grammar would fail in JGit. This is not causing troubles because all commands (ls-refs and fetch) have command-args. This problem arose when adding parsing for the "capability-list" So, bug here is align protocol grammar and code expectations. Given that a. most commands have args, and b. having delim-pkt between sections simplifies parsing, delim-pkt should be mandatory.

Calvin Wan (1):

 Documentation/technical/protocol-v2.txt | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)


base-commit: 0785eb769886ae81e346df10e88bc49ffc0ac64e
-- 
2.33.0.664.g0785eb7698
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help