pack-protocol: fix first-want separator in the examples
When sending the "want" list, the capabilities list is separated from the obj-id by a SP instead of NUL as in the ref advertisement. The text is correct, but the examples wrongly show the separator as NUL. Fix the example so it uses SP. Signed-off-by: Carlos Martín Nieto <cmn@elego.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Carlos Martín Nieto committed
May 12, 2012 at 01:44 UTC
79135e4c229ff02d9315fc2ac822b1316eb3e877
1 file changed
+2
-2
Documentation/technical/pack-protocol.txt
+2
-2
@@ -351,7 +351,7 @@ Then the server will start sending its packfile data.
351
A simple clone may look like this (with no 'have' lines):
352
353
----
354
- C: 0054want 74730d410fcb6603ace96f1dc55ea6196122532d\0multi_ack \
354
+ C: 0054want 74730d410fcb6603ace96f1dc55ea6196122532d multi_ack \
355
side-band-64k ofs-delta\n
356
C: 0032want 7d1665144a3a975c05f1f43902ddaf084e784dbe\n
357
C: 0032want 5a3f6be755bbb7deae50065988cbfa1ffa9ab68a\n
@@ -367,7 +367,7 @@ A simple clone may look like this (with no 'have' lines):
367
An incremental update (fetch) response might look like this:
368
369
----
370
- C: 0054want 74730d410fcb6603ace96f1dc55ea6196122532d\0multi_ack \
370
+ C: 0054want 74730d410fcb6603ace96f1dc55ea6196122532d multi_ack \
371
side-band-64k ofs-delta\n
372
C: 0032want 7d1665144a3a975c05f1f43902ddaf084e784dbe\n
373
C: 0032want 5a3f6be755bbb7deae50065988cbfa1ffa9ab68a\n