summaryrefslogtreecommitdiff
path: root/credential-store.c
diff options
context:
space:
mode:
Diffstat (limited to 'credential-store.c')
-rw-r--r--credential-store.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/credential-store.c b/credential-store.c
index 8b22251..f692509 100644
--- a/credential-store.c
+++ b/credential-store.c
@@ -170,7 +170,7 @@ int main(int argc, char **argv)
} else {
if ((file = expand_user_path("~/.git-credentials")))
string_list_append_nodup(&fns, file);
- home_config_paths(NULL, &file, "credentials");
+ file = xdg_config_home("credentials");
if (file)
string_list_append_nodup(&fns, file);
}