Make the rest of commands work from a subdirectory.
[git.git] / unpack-objects.c
index 8490895..cfd61ae 100644 (file)
@@ -269,6 +269,8 @@ int main(int argc, char **argv)
        int i;
        unsigned char sha1[20];
 
+       setup_git_directory();
+
        for (i = 1 ; i < argc; i++) {
                const char *arg = argv[i];