doc: group pretty-format.txt placeholders descriptions
[gitweb.git] / http-push.c
index 1bbb0cdb6d03353fbc145d6ba748a30c9eabcec0..d1f52cbdf698ef3ac48d3c599d28d6ba7dfa13aa 100644 (file)
@@ -1925,7 +1925,7 @@ int cmd_main(int argc, const char **argv)
                if (!push_all && !is_null_oid(&ref->old_oid))
                        argv_array_pushf(&commit_argv, "^%s",
                                         oid_to_hex(&ref->old_oid));
-               init_revisions(&revs, setup_git_directory());
+               repo_init_revisions(the_repository, &revs, setup_git_directory());
                setup_revisions(commit_argv.argc, commit_argv.argv, &revs, NULL);
                revs.edge_hint = 0; /* just in case */