Code

Make the rest of commands work from a subdirectory.
[git.git] / clone-pack.c
index 960921903eaa712523af0b03098970127729f363..a99a95c5f26718bd509a1c8906663fd73447f16d 100644 (file)
@@ -271,6 +271,8 @@ int main(int argc, char **argv)
        int fd[2];
        pid_t pid;
 
+       setup_git_directory();
+
        nr_heads = 0;
        heads = NULL;
        for (i = 1; i < argc; i++) {