Skip to content

Commit c8a9790

Browse files
rctaygitster
authored andcommitted
pack-protocol.txt: fix pkt-line lengths
Previously, the lengths were 4-bytes short. Fix it such that the lengths reflect the total length of the pkt-line, as per spec. Signed-off-by: Tay Ray Chuan <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 8e50175 commit c8a9790

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Documentation/technical/pack-protocol.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ An incremental update (fetch) response might look like this:
331331

332332
C: 0009done\n
333333

334-
S: 003aACK 74730d410fcb6603ace96f1dc55ea6196122532d\n
334+
S: 0031ACK 74730d410fcb6603ace96f1dc55ea6196122532d\n
335335
S: [PACKFILE]
336336
----
337337

@@ -488,7 +488,7 @@ An example client/server communication might look like this:
488488
C: 0000
489489
C: [PACKDATA]
490490

491-
S: 000aunpack ok\n
492-
S: 0014ok refs/heads/debug\n
493-
S: 0026ng refs/heads/master non-fast-forward\n
491+
S: 000eunpack ok\n
492+
S: 0018ok refs/heads/debug\n
493+
S: 002ang refs/heads/master non-fast-forward\n
494494
----

0 commit comments

Comments
 (0)