v10 of this series fixes the following: * A few updates to the commit messages in order to better convey the reasoning behind the a few of the patches. * Additional test to verify that curl redirects respect configured protocol policies. * Patch added by Jeff King to make http alternates respect configured protocol policies. Brandon Williams (5): lib-proto-disable: variable name fix http: always warn if libcurl version is too old transport: add protocol policy config option http: create function to get curl allowed protocols transport: add from_user parameter to is_transport_allowed Jeff King (1): http: respect protocol.*.allow=user for http-alternates Documentation/config.txt | 46 +++++++++++++ Documentation/git.txt | 38 ++++------- git-submodule.sh | 12 ++-- http-walker.c | 52 +++++++++++--- http.c | 36 ++++++---- t/lib-proto-disable.sh | 142 ++++++++++++++++++++++++++++++++++++--- t/t5509-fetch-push-namespaces.sh | 1 + t/t5550-http-fetch-dumb.sh | 10 +++ t/t5802-connect-helper.sh | 1 + t/t5812-proto-disable-http.sh | 7 ++ transport.c | 84 ++++++++++++++++++++--- transport.h | 19 +++--- 12 files changed, 363 insertions(+), 85 deletions(-) -- 2.8.0.rc3.226.g39d4020