diff options
Diffstat (limited to 'local-fetch.c')
-rw-r--r-- | local-fetch.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/local-fetch.c b/local-fetch.c index 0931109143..fa9e697fd3 100644 --- a/local-fetch.c +++ b/local-fetch.c @@ -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; |