diff options
author | Blake Burkhart <bburky@bburky.com> | 2015-09-22 18:06:20 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-09-25 15:32:28 -0700 |
commit | b258116462399b318c86165c61a5c7123043cfd4 (patch) | |
tree | 0fab49f2d65cee265a23f3b95e84c57a0e38430f /contrib/examples/git-merge.sh | |
parent | http: limit redirection to protocol-whitelist (diff) | |
download | tgif-b258116462399b318c86165c61a5c7123043cfd4.tar.xz |
http: limit redirection depth
By default, libcurl will follow circular http redirects
forever. Let's put a cap on this so that somebody who can
trigger an automated fetch of an arbitrary repository (e.g.,
for CI) cannot convince git to loop infinitely.
The value chosen is 20, which is the same default that
Firefox uses.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/examples/git-merge.sh')
0 files changed, 0 insertions, 0 deletions