send-pack: do not give up when remote has insanely large number of refs.
[gitweb.git] / prune-packed.c
index 26123f7f6bb8bf9cc7fc27905fe2b67d66646f05..d24b097114ef2610416b106ea9aa2000873924f3 100644 (file)
@@ -58,6 +58,8 @@ int main(int argc, char **argv)
 {
        int i;
 
+       setup_git_directory();
+
        for (i = 1; i < argc; i++) {
                const char *arg = argv[i];