aboutsummaryrefslogtreecommitdiffstats
path: root/shallow.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 /shallow.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 'shallow.c')
-rw-r--r--shallow.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/shallow.c b/shallow.c
index d9cd4e219c..ef3adb635f 100644
--- a/shallow.c
+++ b/shallow.c
@@ -213,7 +213,7 @@ static void show_commit(struct commit *commit, void *data)
* are marked with shallow_flag. The list of border/shallow commits
* are also returned.
*/
-struct commit_list *get_shallow_commits_by_rev_list(struct strvec *argv,
+struct commit_list *get_shallow_commits_by_rev_list(int ac, const char **av,
int shallow_flag,
int not_shallow_flag)
{
@@ -232,7 +232,7 @@ struct commit_list *get_shallow_commits_by_rev_list(struct strvec *argv,
repo_init_revisions(the_repository, &revs, NULL);
save_commit_buffer = 0;
- setup_revisions_from_strvec(argv, &revs, NULL);
+ setup_revisions(ac, av, &revs, NULL);
if (prepare_revision_walk(&revs))
die("revision walk setup failed");