You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
t5526: drop the prereq expecting the default branch name main
Initially, we started converting this test script in anticipation for
renaming the default branch name to `main`. To that end, we partially
converted it to accommodate for that default branch name, marking the
now-failing test cases with a prereq that was designed to be fulfilled
once the rename was complete.
However, the effort to move to the branch name `main` needs quite a bit
longer, as it was decided that we need a deprecation phase first.
To avoid keeping t5526 in limbo for such a long time, we just made it
independent of the actual default branch name used by Git. Therefore,
that prereq is no longer necessary, and we can drop it.
Signed-off-by: Johannes Schindelin <[email protected]>
Signed-off-by: Junio C Hamano <[email protected]>
test_expect_success PREPARE_FOR_MAIN_BRANCH "Recursion doesn't happen when no new commits are fetched in the superproject"'
231
+
test_expect_success "Recursion doesn't happen when no new commits are fetched in the superproject"'
232
232
(
233
233
cd downstream &&
234
234
(
@@ -242,7 +242,7 @@ test_expect_success PREPARE_FOR_MAIN_BRANCH "Recursion doesn't happen when no ne
242
242
test_must_be_empty actual.err
243
243
'
244
244
245
-
test_expect_success PREPARE_FOR_MAIN_BRANCH "Recursion stops when no new submodule commits are fetched"'
245
+
test_expect_success "Recursion stops when no new submodule commits are fetched"'
246
246
head1=$(git rev-parse --short HEAD) &&
247
247
git add submodule &&
248
248
git commit -m "new submodule" &&
@@ -258,7 +258,7 @@ test_expect_success PREPARE_FOR_MAIN_BRANCH "Recursion stops when no new submodu
258
258
test_must_be_empty actual.out
259
259
'
260
260
261
-
test_expect_success PREPARE_FOR_MAIN_BRANCH "Recursion doesn't happen when new superproject commits don't change any submodules"'
261
+
test_expect_success "Recursion doesn't happen when new superproject commits don't change any submodules"'
262
262
add_upstream_commit &&
263
263
head1=$(git rev-parse --short HEAD) &&
264
264
echo a > file &&
@@ -275,7 +275,7 @@ test_expect_success PREPARE_FOR_MAIN_BRANCH "Recursion doesn't happen when new s
275
275
test_i18ncmp expect.err.file actual.err
276
276
'
277
277
278
-
test_expect_success PREPARE_FOR_MAIN_BRANCH "Recursion picks up config in submodule"'
278
+
test_expect_success "Recursion picks up config in submodule"'
279
279
(
280
280
cd downstream &&
281
281
git fetch --recurse-submodules &&
@@ -304,7 +304,7 @@ test_expect_success PREPARE_FOR_MAIN_BRANCH "Recursion picks up config in submod
304
304
test_must_be_empty actual.out
305
305
'
306
306
307
-
test_expect_success PREPARE_FOR_MAIN_BRANCH "Recursion picks up all submodules when necessary"'
307
+
test_expect_success "Recursion picks up all submodules when necessary"'
308
308
add_upstream_commit &&
309
309
(
310
310
cd submodule &&
@@ -337,7 +337,7 @@ test_expect_success PREPARE_FOR_MAIN_BRANCH "Recursion picks up all submodules w
337
337
test_must_be_empty actual.out
338
338
'
339
339
340
-
test_expect_success PREPARE_FOR_MAIN_BRANCH "'--recurse-submodules=on-demand' doesn't recurse when no new commits are fetched in the superproject (and ignores config)"'
340
+
test_expect_success "'--recurse-submodules=on-demand' doesn't recurse when no new commits are fetched in the superproject (and ignores config)"'
341
341
add_upstream_commit &&
342
342
(
343
343
cd submodule &&
@@ -364,7 +364,7 @@ test_expect_success PREPARE_FOR_MAIN_BRANCH "'--recurse-submodules=on-demand' do
364
364
test_must_be_empty actual.err
365
365
'
366
366
367
-
test_expect_success PREPARE_FOR_MAIN_BRANCH "'--recurse-submodules=on-demand' recurses as deep as necessary (and ignores config)"'
367
+
test_expect_success "'--recurse-submodules=on-demand' recurses as deep as necessary (and ignores config)"'
368
368
head1=$(git rev-parse --short HEAD) &&
369
369
git add submodule &&
370
370
git commit -m "new submodule" &&
@@ -392,7 +392,7 @@ test_expect_success PREPARE_FOR_MAIN_BRANCH "'--recurse-submodules=on-demand' re
392
392
test_i18ncmp expect.err actual.err
393
393
'
394
394
395
-
test_expect_success PREPARE_FOR_MAIN_BRANCH "'--recurse-submodules=on-demand' stops when no new submodule commits are found in the superproject (and ignores config)"'
395
+
test_expect_success "'--recurse-submodules=on-demand' stops when no new submodule commits are found in the superproject (and ignores config)"'
396
396
add_upstream_commit &&
397
397
head1=$(git rev-parse --short HEAD) &&
398
398
echo a >> file &&
@@ -409,7 +409,7 @@ test_expect_success PREPARE_FOR_MAIN_BRANCH "'--recurse-submodules=on-demand' st
409
409
test_i18ncmp expect.err.file actual.err
410
410
'
411
411
412
-
test_expect_success PREPARE_FOR_MAIN_BRANCH "'fetch.recurseSubmodules=on-demand' overrides global config"'
412
+
test_expect_success "'fetch.recurseSubmodules=on-demand' overrides global config"'
0 commit comments