X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=fetch-pack.c;h=58ba2094dc6eda7e0429cf83730f8c4c84e4c084;hb=73ab46d6d03fc38e7b57f7fb731da432d4433268;hp=65659826601eb9c850266539f6c9e7807a0b467e;hpb=3eeb419968c1f8f0a762a7127db770e9d9c8037d;p=git.git diff --git a/fetch-pack.c b/fetch-pack.c index 65659826..58ba2094 100644 --- a/fetch-pack.c +++ b/fetch-pack.c @@ -424,6 +424,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++) {