combine-diff: extend --cc logic to Octopus.
[gitweb.git] / local-fetch.c
index 0931109143e0ce1c2f03f654b3ab67965220011a..fa9e697fd3fa8fe305184f78fdf500532c14ab63 100644 (file)
@@ -207,6 +207,8 @@ int main(int argc, char **argv)
        char *commit_id;
        int arg = 1;
 
+       setup_git_directory();
+
        while (arg < argc && argv[arg][0] == '-') {
                if (argv[arg][1] == 't')
                        get_tree = 1;