t5551: test that GIT_TRACE_CURL redacts password
commit373e9bd66e2ba468f490e5e4ec1ccbe47853f8cd
authorJonathan Tan <jonathantanmy@google.com>
Mon, 11 May 2020 17:43:09 +0000 (11 10:43 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 11 May 2020 18:17:59 +0000 (11 11:17 -0700)
treecbe8b2789fa29e319f73dad88931cf5156711029
parentb994622632154fc3b17fb40a38819ad954a5fb88
t5551: test that GIT_TRACE_CURL redacts password

Verify that when GIT_TRACE_CURL is set, Git prints out "Authorization:
Basic <redacted>" instead of the base64-encoded authorization details.

Signed-off-by: Jonathan Tan <jonathantanmy@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5551-http-fetch-smart.sh