summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2018-03-14 12:01:05 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-03-14 12:01:06 -0700
commit88506cb887254b5950fe330cc720e94a6058d239 (patch)
treee89a3f95384fb9805e471fff9e9eab4571c29379 /Documentation
parentMerge branch 'jk/add-i-diff-filter' (diff)
parentsmart-http: document flush after "# service" line (diff)
downloadtgif-88506cb887254b5950fe330cc720e94a6058d239.tar.xz
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')
-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 a0e45f2889..64f49d0bbb 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"