]> git.ipfire.org Git - thirdparty/git.git/commit
libsecret: retrieve empty password
authorM Hickford <mirth.hickford@gmail.com>
Mon, 19 Feb 2024 20:40:58 +0000 (20:40 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 19 Feb 2024 22:36:35 +0000 (14:36 -0800)
commit8f1f2023b758179b31188b665496b514dbb952d6
tree3f6bdb911bcf5a1e38462324eb6febfbaea324f1
parentdadef801b365989099a9929e995589e455c51fed
libsecret: retrieve empty password

Since 0ce02e2f (credential/libsecret: store new attributes, 2023-06-16)
a test that stores empty username and password fails when
t0303-credential-external.sh is run with
GIT_TEST_CREDENTIAL_HELPER=libsecret.

Retrieve empty password carefully. This fixes test:

    ok 14 - helper (libsecret) can store empty username

Signed-off-by: M Hickford <mirth.hickford@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/credential/libsecret/git-credential-libsecret.c