aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/technical/http-protocol.txt
diff options
context:
space:
mode:
authorJiuyang Xie <jiuyangxie@gmail.com>2020-05-21 19:32:38 +0800
committerJunio C Hamano <gitster@pobox.com>2020-05-21 10:52:01 -0700
commit2c31a7aa4459f0036aad76e4a0f2c0ddaebb4fc3 (patch)
tree521f0ef2c31622358e5ac344b5f48627fdb7c5da /Documentation/technical/http-protocol.txt
parentaf6b65d45ef179ed52087e80cb089f6b2349f4ec (diff)
downloadgit-2c31a7aa4459f0036aad76e4a0f2c0ddaebb4fc3.tar.gz
doc: fix wrong 4-byte length of pkt-line message
The first four bytes of the line, the pkt-len, indicates the total length of the pkt-line in hexadecimal. Fix wrong pkt-len headers of some pkt-line messages in `http-protocol.txt` and `pack-protocol.txt`. Reviewed-by: Denton Liu <liu.denton@gmail.com> Signed-off-by: Jiuyang Xie <jiuyang.xjy@alibaba-inc.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/technical/http-protocol.txt')
-rw-r--r--Documentation/technical/http-protocol.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/technical/http-protocol.txt b/Documentation/technical/http-protocol.txt
index 9c5b6f0fac..51a79e63de 100644
--- a/Documentation/technical/http-protocol.txt
+++ b/Documentation/technical/http-protocol.txt
@@ -216,7 +216,7 @@ smart server reply:
S: 001e# service=git-upload-pack\n
S: 0000
S: 004895dcfa3633004da0049d3d0fa03f80589cbcaf31 refs/heads/maint\0multi_ack\n
- S: 0042d049f6c27a2244e12041955e262a404c7faba355 refs/heads/master\n
+ S: 003fd049f6c27a2244e12041955e262a404c7faba355 refs/heads/master\n
S: 003c2cb58b79488a98d2721cea644875a8dd0026b115 refs/tags/v1.0\n
S: 003fa3c2e2402b99163d1d59756e5f207ae21cccba4c refs/tags/v1.0^{}\n
S: 0000