]> git.ipfire.org Git - thirdparty/git.git/commit
t2019: don't create unused files
authorAndrei Rybak <rybak.a.v@gmail.com>
Mon, 17 Apr 2023 19:10:44 +0000 (21:10 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 3 May 2023 15:53:10 +0000 (08:53 -0700)
commita5855fd8d43fa21302305c4e80a3bfd9b16c9508
tree31988f2e41c3829e94b6d4cae90f797d6580e9af
parentdca675c6ef9b1d649adfb5a6cfdf2e7c32f18928
t2019: don't create unused files

Tests in t2019-checkout-ambiguous-ref.sh redirect two invocations of
"git checkout" to files "stdout" and "stderr".  Several assertions are
made using file "stderr".  File "stdout", however, is unused.

Don't redirect standard output of "git checkout" to file "stdout" in
t2019-checkout-ambiguous-ref.sh to avoid creating unnecessary files.

Signed-off-by: Andrei Rybak <rybak.a.v@gmail.com>
Reviewed-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t2019-checkout-ambiguous-ref.sh