Skip to content

Commit a0d8b60

Browse files
committed
t0021: remove debugging cruft
The redirection of the standard error stream to a temporary file is a leftover cruft during debugging. Remove it. Besides, it is reported by folks on the Windows that the test is flaky with this redirection; somebody gets confused and this merely-redirected-to file gets marked as delete-pending by git.exe and makes it finish with a non-zero exit status when "git checkout" finishes. Windows folks may want to figure that one out, but for the purpose of this test, it shouldn't become a show-stopper. Signed-off-by: Junio C Hamano <[email protected]>
1 parent ec2e8b3 commit a0d8b60

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

t/t0021-conversion.sh

+1-2
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@ file_size () {
2727

2828
filter_git () {
2929
rm -f rot13-filter.log &&
30-
git "$@" 2>git-stderr.log &&
31-
rm -f git-stderr.log
30+
git "$@"
3231
}
3332

3433
# Compare two files and ensure that `clean` and `smudge` respectively are

0 commit comments

Comments
 (0)