Make the rest of commands work from a subdirectory.
[gitweb.git] / fsck-objects.c
index 0433a1d0da6d6286c3db5a2395e2b2e60c9e9472..90e638e573be005033cbf7faeff6ea8e97a1e758 100644 (file)
@@ -431,6 +431,8 @@ int main(int argc, char **argv)
 {
        int i, heads;
 
+       setup_git_directory();
+
        for (i = 1; i < argc; i++) {
                const char *arg = argv[i];