diff mbox series

[11/11] tests: drop the `PREPARE_FOR_MAIN_BRANCH` prereq

Message ID 3dc48ce96867005b55f44e41e9baab7f0750ab98.1608167230.git.gitgitgadget@gmail.com (mailing list archive)
State Accepted
Commit f17c9da2cf111ae1059a2a5309e92c78a37e42c3
Headers show
Series Drop the PREPARE_FOR_MAIN_BRANCH prereq | expand

Commit Message

Johannes Schindelin Dec. 17, 2020, 1:07 a.m. UTC
From: Johannes Schindelin <johannes.schindelin@gmx.de>

We no longer use it.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
---
 t/test-lib.sh | 8 --------
 1 file changed, 8 deletions(-)
diff mbox series

Patch

diff --git a/t/test-lib.sh b/t/test-lib.sh
index a863ccee7e9..9fa7c1d0f6d 100644
--- a/t/test-lib.sh
+++ b/t/test-lib.sh
@@ -1712,14 +1712,6 @@  test_lazy_prereq REBASE_P '
 	test -z "$GIT_TEST_SKIP_REBASE_P"
 '
 
-# Special-purpose prereq for transitioning to a new default branch name:
-# Some tests need more than just a mindless (case-preserving) s/master/main/g
-# replacement. The non-trivial adjustments are guarded behind this
-# prerequisite, acting kind of as a feature flag
-test_lazy_prereq PREPARE_FOR_MAIN_BRANCH '
-	test "$GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME" = main
-'
-
 # Ensure that no test accidentally triggers a Git command
 # that runs 'crontab', affecting a user's cron schedule.
 # Tests that verify the cron integration must set this locally