@@ -168,8 +168,8 @@ test_expect_success 'reinit' '
168
168
git -c init.defaultBranch=initial init >out1 2>err1 &&
169
169
git init >out2 2>err2
170
170
) &&
171
- test_i18ngrep "Initialized empty" again/out1 &&
172
- test_i18ngrep "Reinitialized existing" again/out2 &&
171
+ test_grep "Initialized empty" again/out1 &&
172
+ test_grep "Reinitialized existing" again/out2 &&
173
173
test_must_be_empty again/err1 &&
174
174
test_must_be_empty again/err2
175
175
'
@@ -332,15 +332,15 @@ test_expect_success 'init with separate gitdir' '
332
332
333
333
test_expect_success ' explicit bare & --separate-git-dir incompatible' '
334
334
test_must_fail git init --bare --separate-git-dir goop.git bare.git 2>err &&
335
- test_i18ngrep "cannot be used together" err
335
+ test_grep "cannot be used together" err
336
336
'
337
337
338
338
test_expect_success ' implicit bare & --separate-git-dir incompatible' '
339
339
test_when_finished "rm -rf bare.git" &&
340
340
mkdir -p bare.git &&
341
341
test_must_fail env GIT_DIR=. \
342
342
git -C bare.git init --separate-git-dir goop.git 2>err &&
343
- test_i18ngrep "incompatible" err
343
+ test_grep "incompatible" err
344
344
'
345
345
346
346
test_expect_success ' bare & --separate-git-dir incompatible within worktree' '
@@ -349,7 +349,7 @@ test_expect_success 'bare & --separate-git-dir incompatible within worktree' '
349
349
git clone --bare . bare.git &&
350
350
git -C bare.git worktree add --detach ../linkwt &&
351
351
test_must_fail git -C linkwt init --separate-git-dir seprepo 2>err &&
352
- test_i18ngrep "incompatible" err
352
+ test_grep "incompatible" err
353
353
'
354
354
355
355
test_lazy_prereq GETCWD_IGNORES_PERMS '
@@ -563,7 +563,7 @@ test_expect_success '--initial-branch' '
563
563
564
564
: re-initializing should not change the branch name &&
565
565
git init --initial-branch=ignore initial-branch-option 2>err &&
566
- test_i18ngrep "ignored --initial-branch" err &&
566
+ test_grep "ignored --initial-branch" err &&
567
567
git -C initial-branch-option symbolic-ref HEAD >actual &&
568
568
grep hello actual
569
569
'
@@ -579,7 +579,7 @@ test_expect_success 'advice on unconfigured init.defaultBranch' '
579
579
GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME= git -c color.advice=always \
580
580
init unconfigured-default-branch-name 2>err &&
581
581
test_decode_color <err >decoded &&
582
- test_i18ngrep "<YELLOW>hint: " decoded
582
+ test_grep "<YELLOW>hint: " decoded
583
583
'
584
584
585
585
test_expect_success ' overridden default main branch name (env)' '
@@ -592,7 +592,7 @@ test_expect_success 'overridden default main branch name (env)' '
592
592
test_expect_success ' invalid default branch name' '
593
593
test_must_fail env GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME="with space" \
594
594
git init initial-branch-invalid 2>err &&
595
- test_i18ngrep "invalid branch name" err
595
+ test_grep "invalid branch name" err
596
596
'
597
597
598
598
test_expect_success ' branch -m with the initial branch' '
0 commit comments