mirror of
https://github.com/git/git.git
synced 2025-12-12 20:36:24 +01:00
Other credential helpers support deleting credentials that match a specified password. See7144dee3ec(credential/libsecret: erase matching creds only, 2023-07-26) andcb626f8e5c(credential/wincred: erase matching creds only, 2023-07-26). Support this in osxkeychain too by extracting, decrypting and comparing the stored password before deleting. Fixes the following test failure with osxkeychain: 11 - helper (osxkeychain) does not erase a password distinct from input Signed-off-by: Bo Anderson <mail@boanderson.me> Signed-off-by: Junio C Hamano <gitster@pobox.com>