]> git.ipfire.org Git - thirdparty/git.git/commitdiff
t5515: use `main` as the name of the main branch for testing (conclusion)
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Mon, 2 Nov 2020 23:55:07 +0000 (23:55 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 3 Nov 2020 00:40:58 +0000 (16:40 -0800)
In the previous three commits, We prepared the `t5515` script and the
files in `t/t5515/` for the upcoming change of the default branch name
to `main`. The changes were made over the course of three commits
because the overall patch would have been too big to send to the Git
mailing list for review.

Naturally, the test could not pass in the transitional stages and was
therefore disabled via the `PREPARE_FOR_MAIN_BRANCH` prereq. Now that
the transition is complete, we can re-enable it.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5515-fetch-merge-logic.sh

index 1a81991cf7f420207833bb52272918dc1d7af92e..50f14101c532d67480cd9796c797df3932d33d56 100755 (executable)
@@ -11,16 +11,11 @@ test_description='Merge logic in fetch'
 GIT_TEST_PROTOCOL_VERSION=0
 export GIT_TEST_PROTOCOL_VERSION
 
-GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=master
+GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=main
 export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME
 
 . ./test-lib.sh
 
-test_have_prereq PREPARE_FOR_MAIN_BRANCH || {
-       test_skip="In transit for the default branch name 'main'"
-       test_done
-}
-
 build_script () {
        script="$1" &&
        for i in one three_file main topic_2 one_tree three two two2 three2