fix pack protocol example client/server communication
The pkt-line formatted lines contained the wrong pkt-len. Signed-off-by: Mike Hommey <mh@glandium.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Mike Hommey committed
Mar 16, 2019 at 17:57 UTC
74cc547b0f5a2b51794d354fee777e07856391ee
1 file changed
+4
-4
Documentation/technical/pack-protocol.txt
+4
-4
@@ -657,14 +657,14 @@ can be rejected.
657
An example client/server communication might look like this:
658
659
----
660
- S: 007c74730d410fcb6603ace96f1dc55ea6196122532d refs/heads/local\0report-status delete-refs ofs-delta\n
660
+ S: 006274730d410fcb6603ace96f1dc55ea6196122532d refs/heads/local\0report-status delete-refs ofs-delta\n
661
S: 003e7d1665144a3a975c05f1f43902ddaf084e784dbe refs/heads/debug\n
662
S: 003f74730d410fcb6603ace96f1dc55ea6196122532d refs/heads/master\n
663
- S: 003f74730d410fcb6603ace96f1dc55ea6196122532d refs/heads/team\n
663
+ S: 003d74730d410fcb6603ace96f1dc55ea6196122532d refs/heads/team\n
664
S: 0000
665
666
- C: 003e7d1665144a3a975c05f1f43902ddaf084e784dbe 74730d410fcb6603ace96f1dc55ea6196122532d refs/heads/debug\n
667
- C: 003e74730d410fcb6603ace96f1dc55ea6196122532d 5a3f6be755bbb7deae50065988cbfa1ffa9ab68a refs/heads/master\n
666
+ C: 00677d1665144a3a975c05f1f43902ddaf084e784dbe 74730d410fcb6603ace96f1dc55ea6196122532d refs/heads/debug\n
667
+ C: 006874730d410fcb6603ace96f1dc55ea6196122532d 5a3f6be755bbb7deae50065988cbfa1ffa9ab68a refs/heads/master\n
668
C: 0000
669
C: [PACKDATA]
670