X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=fetch-pack.c;h=58ba2094dc6eda7e0429cf83730f8c4c84e4c084;hb=53228a5fb8e80f87803e4a3ba8ed25b70fb4871d;hp=65659826601eb9c850266539f6c9e7807a0b467e;hpb=56fc63193975edd4b9f520b6c65c2b97ecd8ee38;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++) {