summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--credential-store.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/credential-store.c b/credential-store.c
index d62dc29d06..8ebfb97c7f 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);
}