Merge branch 'jt/http-base-url-update-upon-redirect' into maint
authorJunio C Hamano <gitster@pobox.com>
Thu, 16 Mar 2017 20:56:42 +0000 (13:56 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 16 Mar 2017 20:56:42 +0000 (13:56 -0700)
commit68e12d7d97e1c1a853ac4c603b06afa051cf1276
tree9133b44f5fb20c6d78108162c1bfbf81b93a74c8
parent8e87cbc740493f8b0619642a680943df04742714
parent8e27391a5fdc9194c4ed3ed6c64ec4750a1a08b5
Merge branch 'jt/http-base-url-update-upon-redirect' into maint

When a redirected http transport gets an error during the
redirected request, we ignored the error we got from the server,
and ended up giving a not-so-useful error message.

* jt/http-base-url-update-upon-redirect:
  http: attempt updating base URL only if no error
http.c