X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=http-push.c;h=b4327d92438d9596b7286ead06152ad3156b6e2c;hb=8ac80a5701780547404523a84f4b1ae67bfa6823;hp=114d01bced1cb3f9a906c7c0df85bf5cd2b811e0;hpb=1b65a5aa449e2ea99a68f5d13c5521d0dc64dfd1;p=git.git diff --git a/http-push.c b/http-push.c index 114d01bc..b4327d92 100644 --- a/http-push.c +++ b/http-push.c @@ -2498,6 +2498,7 @@ int main(int argc, char **argv) commit_argv[3] = old_sha1_hex; commit_argc++; } + init_revisions(&revs); setup_revisions(commit_argc, commit_argv, &revs, NULL); free(new_sha1_hex); if (old_sha1_hex) {