diff options
author | Ivan Frade <ifrade@google.com> | 2021-11-10 23:51:28 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-11-11 10:07:43 -0800 |
commit | 88e9b1e3fcbd3a8edcf1d54528c49f8237906aba (patch) | |
tree | 7fdb889a781c5e3b6f57a85a9cde0c4a861eec11 /t/t0201-gettext-fallbacks.sh | |
parent | The fifteenth batch (diff) | |
download | tgif-88e9b1e3fcbd3a8edcf1d54528c49f8237906aba.tar.xz |
fetch-pack: redact packfile urls in traces
In some setups, packfile uris act as bearer token. It is not
recommended to expose them plainly in logs, although in special
circunstances (e.g. debug) it makes sense to write them.
Redact the packfile URL paths by default, unless the GIT_TRACE_REDACT
variable is set to false. This mimics the redacting of the Authorization
header in HTTP.
Signed-off-by: Ivan Frade <ifrade@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t0201-gettext-fallbacks.sh')
0 files changed, 0 insertions, 0 deletions