Support 'master@2 hours ago' syntax
[gitweb.git] / http-push.c
index 114d01bced1cb3f9a906c7c0df85bf5cd2b811e0..b4327d92438d9596b7286ead06152ad3156b6e2c 100644 (file)
@@ -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) {