summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorTay Ray Chuan <rctay89@gmail.com>2010-04-04 21:12:17 +0800
committerJunio C Hamano <gitster@pobox.com>2010-04-04 10:18:21 -0700
commitc8a97906bad44c83acfec33e7e0a3bb4b15a716d (patch)
tree039bda0ce92ff52110edde74bf470f998b1461c1 /Documentation
parent8e50175d945166c26f24827019882ee6607f65f7 (diff)
downloadgit-c8a97906bad44c83acfec33e7e0a3bb4b15a716d.tar.gz
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>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/technical/pack-protocol.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/Documentation/technical/pack-protocol.txt b/Documentation/technical/pack-protocol.txt
index f9468a1c29..369f91d3b9 100644
--- a/Documentation/technical/pack-protocol.txt
+++ b/Documentation/technical/pack-protocol.txt
@@ -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]
----
@@ -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
----