X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=http-push.c;h=4021e7d9274b713a7b5c48d66f9ddf21ddc07094;hb=4c5cf8c44ce06a79da5bafd4a92e6d6f598cea2e;hp=47686195cdf41ad58fe66a606033d3156de8fd82;hpb=24cf6e5847073d50390e0b7950e8e6b5a09103bc;p=git.git diff --git a/http-push.c b/http-push.c index 47686195c..4021e7d92 100644 --- a/http-push.c +++ b/http-push.c @@ -2521,7 +2521,7 @@ int main(int argc, char **argv) commit_argv[3] = old_sha1_hex; commit_argc++; } - init_revisions(&revs); + init_revisions(&revs, setup_git_directory()); setup_revisions(commit_argc, commit_argv, &revs, NULL); free(new_sha1_hex); if (old_sha1_hex) {