git apply --directory broken for new files
[gitweb.git] / receive-pack.c
index fa653b49fe3c865b7e9c3723136b5b2344f8f4ca..d44c19e6b577023dcbaa188a0e67130ff4e5bd9a 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);