Merge branch 'ew/http-alternates-as-redirects-warning' into next
authorJunio C Hamano <gitster@pobox.com>
Fri, 10 Mar 2017 21:35:32 +0000 (13:35 -0800)
committerJunio C Hamano <gitster@pobox.com>
Fri, 10 Mar 2017 21:35:32 +0000 (13:35 -0800)
commit23be072a072d8598be828028aa9f87580b0a8451
tree081ef04796369e61ece48bdad8e4a5e253d91d22
parent9317e24cd3de642f37dbdfacfdf36cde563582db
parent5cae73d5d23ec109322948478a957e77d2733f94
Merge branch 'ew/http-alternates-as-redirects-warning' into next

Recent versions of Git treats http alternates (used in dumb http
transport) just like HTTP redirects and requires the client to
enable following it, due to security concerns.  But we forgot to
give a warning when we decide not to honor the alternates.

* ew/http-alternates-as-redirects-warning:
  http: release strbuf on disabled alternates
  http: inform about alternates-as-redirects behavior