Record the command invocation path early
[git/git.git] / receive-pack.c
index fa653b4..d44c19e 100644 (file)
@@ -482,7 +482,7 @@ int main(int argc, char **argv)
        if (!dir)
                usage(receive_pack_usage);
 
-       setup_path(NULL);
+       setup_path();
 
        if (!enter_repo(dir, 0))
                die("'%s': unable to chdir or not a git archive", dir);