diff options
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2023-03-28 15:58:56 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-03-28 16:36:46 +0200 |
commit | 035c7de9e9ea11d26df5f9e4bb117f91ed11a9fd (patch) | |
tree | aa5e559515a6b8d1365de71f4825ea5d52df5b89 /builtin/bisect.c | |
parent | cocci: apply the "rerere.h" part of "the_repository.pending" (diff) | |
download | git-035c7de9e9ea11d26df5f9e4bb117f91ed11a9fd.tar.xz git-035c7de9e9ea11d26df5f9e4bb117f91ed11a9fd.zip |
cocci: apply the "revision.h" part of "the_repository.pending"
Apply the part of "the_repository.pending.cocci" pertaining to
"revision.h".
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/bisect.c')
-rw-r--r-- | builtin/bisect.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/builtin/bisect.c b/builtin/bisect.c index 34ba7b18f6..0f35361bd1 100644 --- a/builtin/bisect.c +++ b/builtin/bisect.c @@ -568,7 +568,7 @@ static int prepare_revs(struct bisect_terms *terms, struct rev_info *revs) * sets up a revision walk. */ reset_revision_walk(); - init_revisions(revs, NULL); + repo_init_revisions(the_repository, revs, NULL); setup_revisions(0, NULL, revs, NULL); for_each_glob_ref_in(add_bisect_ref, bad, "refs/bisect/", &cb); cb.object_flags = UNINTERESTING; @@ -1095,7 +1095,7 @@ static enum bisect_error bisect_skip(struct bisect_terms *terms, int argc, struct rev_info revs; struct commit *commit; - init_revisions(&revs, NULL); + repo_init_revisions(the_repository, &revs, NULL); setup_revisions(2, argv + i - 1, &revs, NULL); if (prepare_revision_walk(&revs)) |