Merge branch 'jk/http-walker-limit-redirect' into maint
authorJunio C Hamano <gitster@pobox.com>
Tue, 17 Jan 2017 22:49:29 +0000 (14:49 -0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 17 Jan 2017 22:49:29 +0000 (14:49 -0800)
commit5ce6f51ff78bcb847c6c4835d80f6b58d730a8de
tree029e49495079444591cb804fd4a12b39a34ab9ca
parent7479ca4b44193acee43c480ae37e0bec98316f7a
parent3680f16f9d6832dc78c6b80f1e8a546385d946f9
Merge branch 'jk/http-walker-limit-redirect' into maint

Update the error messages from the dumb-http client when it fails
to obtain loose objects; we used to give sensible error message
only upon 404 but we now forbid unexpected redirects that needs to
be reported with something sensible.

* jk/http-walker-limit-redirect:
  http-walker: complain about non-404 loose object errors
  http: treat http-alternates like redirects
  http: make redirects more obvious
  remote-curl: rename shadowed options variable
  http: always update the base URL for redirects
  http: simplify update_url_from_redirect
Documentation/config.txt
http.c
http.h
remote-curl.c
t/lib-httpd/apache.conf
t/t5550-http-fetch-dumb.sh
t/t5551-http-fetch-smart.sh