Merge branch 'bw/protocol-v2'
authorJunio C Hamano <gitster@pobox.com>
Wed, 18 Jul 2018 19:20:30 +0000 (12:20 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 18 Jul 2018 19:20:30 +0000 (12:20 -0700)
Doc fix.

* bw/protocol-v2:
protocol-v2 doc: put HTTP headers after request

1  2 
Documentation/technical/protocol-v2.txt
index 49bda76d231d08173a48593d0910b3cbc934f01c,11c0efbfdac35774c8fe3ac2e37d09c7796c10ef..f58f24b1efb1cbf4fb959490afe00158a512625b
@@@ -64,9 -64,8 +64,8 @@@ When using the http:// or https:// tran
  info/refs request as described in `http-protocol.txt` and requests that
  v2 be used by supplying "version=2" in the `Git-Protocol` header.
  
-    C: Git-Protocol: version=2
-    C:
     C: GET $GIT_URL/info/refs?service=git-upload-pack HTTP/1.0
+    C: Git-Protocol: version=2
  
  A v2 server would reply:
  
@@@ -290,15 -289,6 +289,15 @@@ included in the clients request as wel
        Cannot be used with "deepen", but can be used with
        "deepen-since".
  
 +If the 'filter' feature is advertised, the following argument can be
 +included in the client's request:
 +
 +    filter <filter-spec>
 +      Request that various objects from the packfile be omitted
 +      using one of several filtering techniques. These are intended
 +      for use with partial clone and partial fetch operations. See
 +      `rev-list` for possible "filter-spec" values.
 +
  The response of `fetch` is broken into a number of sections separated by
  delimiter packets (0001), with each section beginning with its section
  header.
                1 - pack data
                2 - progress messages
                3 - fatal error message just before stream aborts
 +
 + server-option
 +~~~~~~~~~~~~~~~
 +
 +If advertised, indicates that any number of server specific options can be
 +included in a request.  This is done by sending each option as a
 +"server-option=<option>" capability line in the capability-list section of
 +a request.
 +
 +The provided options must not contain a NUL or LF character.