Merge branch 'jt/http-auth-proto-v2-fix'
authorJunio C Hamano <gitster@pobox.com>
Thu, 7 Mar 2019 00:59:59 +0000 (09:59 +0900)
committerJunio C Hamano <gitster@pobox.com>
Thu, 7 Mar 2019 01:00:00 +0000 (10:00 +0900)
commitc42c664a2f0634e4268fe9cab96b85e460b4c2e9
tree876557b07a1a97a01e16c6dedbd45f1d571ca5e1
parent12e5bdd9c4bfa0131b00b20be2cc48a8e2b08a2d
parenta97d00799a19d2516ca8fae4da9bf782ca6f2e37
Merge branch 'jt/http-auth-proto-v2-fix'

Unify RPC code for smart http in protocol v0/v1 and v2, which fixes
a bug in the latter (lack of authentication retry) and generally
improves the code base.

* jt/http-auth-proto-v2-fix:
  remote-curl: use post_rpc() for protocol v2 also
  remote-curl: refactor reading into rpc_state's buf
  remote-curl: reduce scope of rpc_state.result
  remote-curl: reduce scope of rpc_state.stdin_preamble
  remote-curl: reduce scope of rpc_state.argv
remote-curl.c