summaryrefslogtreecommitdiff
path: root/Documentation/technical
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2018-03-14 19:01:05 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-03-14 19:01:06 (GMT)
commit88506cb887254b5950fe330cc720e94a6058d239 (patch)
treee89a3f95384fb9805e471fff9e9eab4571c29379 /Documentation/technical
parentc5e2df04ac9dd731c729c6159d58c2288d794858 (diff)
parent0aa7a780995d3bbef4524a2cdc2e5d33cca56fa9 (diff)
downloadgit-88506cb887254b5950fe330cc720e94a6058d239.zip
git-88506cb887254b5950fe330cc720e94a6058d239.tar.gz
git-88506cb887254b5950fe330cc720e94a6058d239.tar.bz2
Merge branch 'jk/smart-http-protocol-doc-fix'
A doc update. * jk/smart-http-protocol-doc-fix: smart-http: document flush after "# service" line
Diffstat (limited to 'Documentation/technical')
-rw-r--r--Documentation/technical/http-protocol.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/technical/http-protocol.txt b/Documentation/technical/http-protocol.txt
index a0e45f2..64f49d0 100644
--- a/Documentation/technical/http-protocol.txt
+++ b/Documentation/technical/http-protocol.txt
@@ -214,10 +214,12 @@ smart server reply:
S: Cache-Control: no-cache
S:
S: 001e# service=git-upload-pack\n
+ S: 0000
S: 004895dcfa3633004da0049d3d0fa03f80589cbcaf31 refs/heads/maint\0multi_ack\n
S: 0042d049f6c27a2244e12041955e262a404c7faba355 refs/heads/master\n
S: 003c2cb58b79488a98d2721cea644875a8dd0026b115 refs/tags/v1.0\n
S: 003fa3c2e2402b99163d1d59756e5f207ae21cccba4c refs/tags/v1.0^{}\n
+ S: 0000
The client may send Extra Parameters (see
Documentation/technical/pack-protocol.txt) as a colon-separated string
@@ -277,6 +279,7 @@ The returned response contains "version 1" if "version=1" was sent as an
Extra Parameter.
smart_reply = PKT-LINE("# service=$servicename" LF)
+ "0000"
*1("version 1")
ref_list
"0000"