diff options
| author | Junio C Hamano <gitster@pobox.com> | 2025-09-23 07:32:57 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2025-09-23 07:32:57 -0700 |
| commit | 19b316ff3cc1ef6a8ffe59b60f057c450b2701b3 (patch) | |
| tree | 1b808625272f84571c18037b8a22051950b88314 /bisect.c | |
| parent | Merge branch 'jk/setup-revisions-freefix' into next (diff) | |
| download | git-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 'bisect.c')
| -rw-r--r-- | bisect.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -674,6 +674,9 @@ static void bisect_rev_setup(struct repository *r, struct rev_info *revs, const char *bad_format, const char *good_format, int read_paths) { + struct setup_revision_opt opt = { + .free_removed_argv_elements = 1, + }; int i; repo_init_revisions(r, revs, prefix); @@ -690,7 +693,7 @@ static void bisect_rev_setup(struct repository *r, struct rev_info *revs, if (read_paths) read_bisect_paths(rev_argv); - setup_revisions_from_strvec(rev_argv, revs, NULL); + setup_revisions(rev_argv->nr, rev_argv->v, revs, &opt); } static void bisect_common(struct rev_info *revs) |
