aboutsummaryrefslogtreecommitdiffstats
path: root/http-push.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2025-09-23 07:32:57 -0700
committerJunio C Hamano <gitster@pobox.com>2025-09-23 07:32:57 -0700
commit19b316ff3cc1ef6a8ffe59b60f057c450b2701b3 (patch)
tree1b808625272f84571c18037b8a22051950b88314 /http-push.c
parentMerge branch 'jk/setup-revisions-freefix' into next (diff)
downloadgit-19b316ff3cc1ef6a8ffe59b60f057c450b2701b3.tar.gz
git-19b316ff3cc1ef6a8ffe59b60f057c450b2701b3.zip
Revert "Merge branch 'jk/setup-revisions-freefix' into next"
This reverts commit b178f27e6ddfa8d515dcd445b6bf17119f962c44, reversing changes made to 2d0aec78212bcdf7c7c067a74b471a9e0ce60adf.
Diffstat (limited to 'http-push.c')
-rw-r--r--http-push.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/http-push.c b/http-push.c
index 4c43ba3bc7..91a5465afb 100644
--- a/http-push.c
+++ b/http-push.c
@@ -1941,7 +1941,7 @@ int cmd_main(int argc, const char **argv)
strvec_pushf(&commit_argv, "^%s",
oid_to_hex(&ref->old_oid));
repo_init_revisions(the_repository, &revs, setup_git_directory());
- setup_revisions_from_strvec(&commit_argv, &revs, NULL);
+ setup_revisions(commit_argv.nr, commit_argv.v, &revs, NULL);
revs.edge_hint = 0; /* just in case */
/* Generate a list of objects that need to be pushed */