Skip to content

Commit f17c9da

Browse files
dschogitster
authored andcommitted
tests: drop the PREPARE_FOR_MAIN_BRANCH prereq
We no longer use it. Signed-off-by: Johannes Schindelin <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 0007618 commit f17c9da

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

t/test-lib.sh

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1712,14 +1712,6 @@ test_lazy_prereq REBASE_P '
17121712
test -z "$GIT_TEST_SKIP_REBASE_P"
17131713
'
17141714

1715-
# Special-purpose prereq for transitioning to a new default branch name:
1716-
# Some tests need more than just a mindless (case-preserving) s/master/main/g
1717-
# replacement. The non-trivial adjustments are guarded behind this
1718-
# prerequisite, acting kind of as a feature flag
1719-
test_lazy_prereq PREPARE_FOR_MAIN_BRANCH '
1720-
test "$GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME" = main
1721-
'
1722-
17231715
# Ensure that no test accidentally triggers a Git command
17241716
# that runs 'crontab', affecting a user's cron schedule.
17251717
# Tests that verify the cron integration must set this locally

0 commit comments

Comments
 (0)