diff --git a/credential-store.c b/credential-store.c index 57141679ab..83637aa98b 100644 --- a/credential-store.c +++ b/credential-store.c @@ -3,6 +3,7 @@ #include "credential.h" #include "string-list.h" #include "parse-options.h" +#include "exec_cmd.h" static struct lock_file credential_lock; @@ -160,6 +161,7 @@ int main(int argc, char **argv) umask(077); + git_extract_argv0_path(argv[0]); argc = parse_options(argc, (const char **)argv, NULL, options, usage, 0); if (argc != 1) usage_with_options(usage, options);