X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=http-push.c;h=a99fdfc0efe7a12d4f1c7442b483c880c662b5b7;hb=35fb0e8633217f602360a9987af51c4b960e7850;hp=6ad853e2d01b4ee3b3ee282b30b8b7f374ae3d47;hpb=6af384ce73ad880253be5be7587f19f6fe3afcba;p=git.git diff --git a/http-push.c b/http-push.c index 6ad853e2d..a99fdfc0e 100644 --- a/http-push.c +++ b/http-push.c @@ -2184,6 +2184,8 @@ int main(int argc, char **argv) struct ref *ref; char *rewritten_url = NULL; + git_extract_argv0_path(argv[0]); + setup_git_directory(); remote = xcalloc(sizeof(*remote), 1);