aboutsummaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorIvan Frade <ifrade@google.com>2021-11-10 23:51:29 +0000
committerJunio C Hamano <gitster@pobox.com>2021-11-11 10:07:44 -0800
commit0ba558ffb138f893f786d42b19689898ef456515 (patch)
treef884b9b9738ff448a3e07f548fd58590cc9162de /Documentation
parent88e9b1e3fcbd3a8edcf1d54528c49f8237906aba (diff)
downloadgit-0ba558ffb138f893f786d42b19689898ef456515.tar.xz
http-fetch: redact url on die() message
http-fetch prints the URL after failing to fetch it. This can be confusing to users (they cannot really do anything with it), and they can share by accident a sensitive URL (e.g. with credentials) while looking for help. Redact the URL unless the GIT_TRACE_REDACT variable is set to false. This mimics the redaction of other sensitive information in git, like the Authorization header in HTTP. Fix also capitalization of previous die() message (must start in lowercase). Signed-off-by: Ivan Frade <ifrade@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions