Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
pack-protocol.txt: fix pkt-line lengths
author
Tay Ray Chuan
<rctay89@gmail.com>
Sun, 4 Apr 2010 13:12:17 +0000
(21:12 +0800)
committer
Junio C Hamano
<gitster@pobox.com>
Sun, 4 Apr 2010 17:18:21 +0000
(10:18 -0700)
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>
Documentation/technical/pack-protocol.txt
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
8e50175
)
diff --git
a/Documentation/technical/pack-protocol.txt
b/Documentation/technical/pack-protocol.txt
index f9468a1c29588492965377875520a53e702adba1..369f91d3b949b23682c4deda8234f13513f15732 100644
(file)
--- 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: 003
a
ACK 74730d410fcb6603ace96f1dc55ea6196122532d\n
+ S: 003
1
ACK 74730d410fcb6603ace96f1dc55ea6196122532d\n
S: [PACKFILE]
----
@@
-488,7
+488,7
@@
An example client/server communication might look like this:
C: 0000
C: [PACKDATA]
- S: 000
a
unpack ok\n
- S: 001
4
ok refs/heads/debug\n
- S: 002
6
ng refs/heads/master non-fast-forward\n
+ S: 000
e
unpack ok\n
+ S: 001
8
ok refs/heads/debug\n
+ S: 002
a
ng refs/heads/master non-fast-forward\n
----