Git fork

Merge branch 'jt/t5551-protocol-v2-does-not-have-half-auth'

Test update.

* jt/t5551-protocol-v2-does-not-have-half-auth:
t5551: mark half-auth no-op fetch test as v0-only

+11 -1
+11 -1
t/t5551-http-fetch-smart.sh
··· 164 164 165 165 test_expect_success 'no-op half-auth fetch does not require a password' ' 166 166 set_askpass wrong && 167 - git --git-dir=half-auth fetch && 167 + 168 + # NEEDSWORK: When using HTTP(S), protocol v0 supports a "half-auth" 169 + # configuration with authentication required only when downloading 170 + # objects and not refs, by having the HTTP server only require 171 + # authentication for the "git-upload-pack" path and not "info/refs". 172 + # This is not possible with protocol v2, since both objects and refs 173 + # are obtained from the "git-upload-pack" path. A solution to this is 174 + # to teach the server and client to be able to inline ls-refs requests 175 + # as an Extra Parameter (see pack-protocol.txt), so that "info/refs" 176 + # can serve refs, just like it does in protocol v0. 177 + GIT_TEST_PROTOCOL_VERSION=0 git --git-dir=half-auth fetch && 168 178 expect_askpass none 169 179 ' 170 180