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 <rctay89@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Tay Ray Chuan committed
Apr 4, 2010 at 21:12 UTC
c8a97906bad44c83acfec33e7e0a3bb4b15a716d
1 file changed
+4
-4
Documentation/technical/pack-protocol.txt
+4
-4
@@ -331,7 +331,7 @@ An incremental update (fetch) response might look like this:
331
332
C: 0009done\n
333
334
- S: 003aACK 74730d410fcb6603ace96f1dc55ea6196122532d\n
334
+ S: 0031ACK 74730d410fcb6603ace96f1dc55ea6196122532d\n
335
S: [PACKFILE]
336
----
337
@@ -488,7 +488,7 @@ An example client/server communication might look like this:
488
C: 0000
489
C: [PACKDATA]
490
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
494
----