t4068: remove unnecessary >tmp
The many `git diff` invocations have a `>tmp` redirection even though the file is not being used afterwards. Remove these unnecessary redirections. Signed-off-by: Denton Liu <liu.denton@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Denton Liu committed
Sep 17, 2020 at 00:44 UTC
8023a5e85bffa969dffab3a509a4c62b2c8906d5
1 file changed
+5
-5
t/t4068-diff-symmetric.sh
+5
-5
@@ -64,27 +64,27 @@ test_expect_success 'diff with two merge bases' '
64
'
65
66
test_expect_success 'diff with no merge bases' '
67
- test_must_fail git diff br2...br3 >tmp 2>err &&
67
+ test_must_fail git diff br2...br3 2>err &&
68
test_i18ngrep "fatal: br2...br3: no merge base" err
69
'
70
71
test_expect_success 'diff with too many symmetric differences' '
72
- test_must_fail git diff br1...master br2...br3 >tmp 2>err &&
72
+ test_must_fail git diff br1...master br2...br3 2>err &&
73
test_i18ngrep "usage" err
74
'
75
76
test_expect_success 'diff with symmetric difference and extraneous arg' '
77
- test_must_fail git diff master br1...master >tmp 2>err &&
77
+ test_must_fail git diff master br1...master 2>err &&
78
test_i18ngrep "usage" err
79
'
80
81
test_expect_success 'diff with two ranges' '
82
- test_must_fail git diff master br1..master br2..br3 >tmp 2>err &&
82
+ test_must_fail git diff master br1..master br2..br3 2>err &&
83
test_i18ngrep "usage" err
84
'
85
86
test_expect_success 'diff with ranges and extra arg' '
87
- test_must_fail git diff master br1..master commit-D >tmp 2>err &&
87
+ test_must_fail git diff master br1..master commit-D 2>err &&
88
test_i18ngrep "usage" err
89
'
90