summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2017-11-09 05:31:30 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-11-09 05:31:30 (GMT)
commit906329f369e0899d619f53071f7364270f887947 (patch)
tree1bd00f3e3ff156b8eca18e7e0a4eef647d0c402d /contrib
parentc90766c4f1c216f6cbcb2fb7daf6ac4cced5b1df (diff)
parent9c109e9bbcadb21cd6f955301f81583a74f8aa8c (diff)
downloadgit-906329f369e0899d619f53071f7364270f887947.zip
git-906329f369e0899d619f53071f7364270f887947.tar.gz
git-906329f369e0899d619f53071f7364270f887947.tar.bz2
Merge branch 'dk/libsecret-unlock-to-load-fix'
The credential helper for libsecret (in contrib/) has been improved to allow possibly prompting the end user to unlock secrets that are currently locked (otherwise the secrets may not be loaded). * dk/libsecret-unlock-to-load-fix: credential-libsecret: unlock locked secrets
Diffstat (limited to 'contrib')
-rw-r--r--contrib/credential/libsecret/git-credential-libsecret.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/credential/libsecret/git-credential-libsecret.c b/contrib/credential/libsecret/git-credential-libsecret.c
index 4c56979..b4750c9 100644
--- a/contrib/credential/libsecret/git-credential-libsecret.c
+++ b/contrib/credential/libsecret/git-credential-libsecret.c
@@ -104,7 +104,7 @@ static int keyring_get(struct credential *c)
items = secret_service_search_sync(service,
SECRET_SCHEMA_COMPAT_NETWORK,
attributes,
- SECRET_SEARCH_LOAD_SECRETS,
+ SECRET_SEARCH_LOAD_SECRETS | SECRET_SEARCH_UNLOCK,
NULL,
&error);
g_hash_table_unref(attributes);