Merge branch 'ew/http-alternates-as-redirects-warning'
commit519592bcc6ddb6bbb417cadb6af5e72e93a07fc4
authorJunio C Hamano <gitster@pobox.com>
Tue, 14 Mar 2017 22:23:19 +0000 (14 15:23 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 14 Mar 2017 22:23:19 +0000 (14 15:23 -0700)
tree3849598e7a79ddfd29ab2a60ef721054e3ab24c3
parent529635738683b4570b1cee894fa53bce66254e8b
parent5cae73d5d23ec109322948478a957e77d2733f94
Merge branch 'ew/http-alternates-as-redirects-warning'

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