git-credential-manager
git-credential-manager copied to clipboard
option to exit 0 instead of 1 when interaction disabled
New option and environment variable GCM_SILENT_EXIT
Useful to run Git's credential helper test suite:
GIT_TEST_CREDENTIAL_HELPER=manager GCM_CREDENTIAL_STORE=cache GCM_GUI_PROMPT=0 GCM_INTERACTIVE=never GCM_AUTODETECT_TIMEOUT=0 GCM_SILENT_EXIT=1 ./t0303-credential-external.sh
Fixes #1451
It remains to fix tests
not ok 11 - helper (manager) does not erase a password distinct from input
not ok 14 - helper (manager) can store empty username
not ok 18 - helper (manager) gets password_expiry_utc
not ok 19 - helper (manager) overwrites when password_expiry_utc changes
not ok 21 - helper (manager) gets oauth_refresh_token