Merge branch 'ew/http-alternates-as-redirects-warning' into maint
commitc953cf95a5fdf2fa1b8f288db6b1a0398d6e8311
authorJunio C Hamano <gitster@pobox.com>
Tue, 28 Mar 2017 20:52:23 +0000 (28 13:52 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 28 Mar 2017 20:52:23 +0000 (28 13:52 -0700)
tree271bbec5f1b1eff20b822bde4a28b2b6ff560716
parentbfee58c0a59b2d84431b41052b774f5037cebe21
parent5cae73d5d23ec109322948478a957e77d2733f94
Merge branch 'ew/http-alternates-as-redirects-warning' into maint

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
http-walker.c