summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2016-11-11 13:07:37 -0800
committerJunio C Hamano <gitster@pobox.com>2016-11-11 13:09:24 -0800
commita0d8b60da82839614750dd64f442c4e9b446f8ef (patch)
treecb67bfec60102e7b9be913faa626f68fbfdd7e6a
parentec2e8b3da21c884325c9764abc62251fcfbe6208 (diff)
downloadgit-a0d8b60da82839614750dd64f442c4e9b446f8ef.tar.gz
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 <gitster@pobox.com>
-rwxr-xr-xt/t0021-conversion.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/t/t0021-conversion.sh b/t/t0021-conversion.sh
index cb72fa49de..5ce2535017 100755
--- a/t/t0021-conversion.sh
+++ b/t/t0021-conversion.sh
@@ -27,8 +27,7 @@ file_size () {
filter_git () {
rm -f rot13-filter.log &&
- git "$@" 2>git-stderr.log &&
- rm -f git-stderr.log
+ git "$@"
}
# Compare two files and ensure that `clean` and `smudge` respectively are