]> git.ipfire.org Git - thirdparty/git.git/commit
push: anonymize URLs in error messages and warnings
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Fri, 24 Apr 2020 14:20:08 +0000 (14:20 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 28 Apr 2020 22:17:45 +0000 (15:17 -0700)
commitd192fa50067d1630312a966aba22c90139812fc5
tree57b11a59843fc8868673d73f59027e2c7115565e
parent7397ca33730626f682845f8691b39c305535611e
push: anonymize URLs in error messages and warnings

Just like 47abd85ba0 (fetch: Strip usernames from url's before storing
them, 2009-04-17) and later 882d49ca5c (push: anonymize URL in status
output, 2016-07-13), and even later c1284b21f243 (curl: anonymize URLs
in error messages and warnings, 2019-03-04) this change anonymizes URLs
(read: strips them of user names and especially passwords) in
user-facing error messages and warnings.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Reviewed-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/push.c