Skip to content

Commit f2e2fa8

Browse files
Denton-Lgitster
authored andcommitted
t4014: drop redirections to /dev/null
Since output is silenced when running without `-v` and debugging output is useful with `-v`, remove redirections to /dev/null as it is not useful. Signed-off-by: Denton Liu <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 460609c commit f2e2fa8

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

t/t4014-format-patch.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1502,42 +1502,42 @@ test_expect_success 'cover letter using branch description (1)' '
15021502
git checkout rebuild-1 &&
15031503
test_config branch.rebuild-1.description hello &&
15041504
git format-patch --stdout --cover-letter master >actual &&
1505-
grep hello actual >/dev/null
1505+
grep hello actual
15061506
'
15071507

15081508
test_expect_success 'cover letter using branch description (2)' '
15091509
git checkout rebuild-1 &&
15101510
test_config branch.rebuild-1.description hello &&
15111511
git format-patch --stdout --cover-letter rebuild-1~2..rebuild-1 >actual &&
1512-
grep hello actual >/dev/null
1512+
grep hello actual
15131513
'
15141514

15151515
test_expect_success 'cover letter using branch description (3)' '
15161516
git checkout rebuild-1 &&
15171517
test_config branch.rebuild-1.description hello &&
15181518
git format-patch --stdout --cover-letter ^master rebuild-1 >actual &&
1519-
grep hello actual >/dev/null
1519+
grep hello actual
15201520
'
15211521

15221522
test_expect_success 'cover letter using branch description (4)' '
15231523
git checkout rebuild-1 &&
15241524
test_config branch.rebuild-1.description hello &&
15251525
git format-patch --stdout --cover-letter master.. >actual &&
1526-
grep hello actual >/dev/null
1526+
grep hello actual
15271527
'
15281528

15291529
test_expect_success 'cover letter using branch description (5)' '
15301530
git checkout rebuild-1 &&
15311531
test_config branch.rebuild-1.description hello &&
15321532
git format-patch --stdout --cover-letter -2 HEAD >actual &&
1533-
grep hello actual >/dev/null
1533+
grep hello actual
15341534
'
15351535

15361536
test_expect_success 'cover letter using branch description (6)' '
15371537
git checkout rebuild-1 &&
15381538
test_config branch.rebuild-1.description hello &&
15391539
git format-patch --stdout --cover-letter -2 >actual &&
1540-
grep hello actual >/dev/null
1540+
grep hello actual
15411541
'
15421542

15431543
test_expect_success 'cover letter with nothing' '

0 commit comments

Comments
 (0)