Skip to content

Commit

Permalink
pack-protocol.txt: fix pkt-line lengths
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Tay Ray Chuan authored and Junio C Hamano committed Apr 4, 2010
1 parent 8e50175 commit c8a9790
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Documentation/technical/pack-protocol.txt
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ An incremental update (fetch) response might look like this:

C: 0009done\n

S: 003aACK 74730d410fcb6603ace96f1dc55ea6196122532d\n
S: 0031ACK 74730d410fcb6603ace96f1dc55ea6196122532d\n
S: [PACKFILE]
----

Expand Down Expand Up @@ -488,7 +488,7 @@ An example client/server communication might look like this:
C: 0000
C: [PACKDATA]

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

0 comments on commit c8a9790

Please sign in to comment.