From: Stefan Beller Date: Fri, 2 Dec 2016 20:05:15 +0000 (-0800) Subject: t3600: remove useless redirect X-Git-Tag: v2.11.1~30^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8954bd76ebb7eb2bb252ea36b1a91f7b67603fe6;p=thirdparty%2Fgit.git t3600: remove useless redirect In the next line the `actual` is overwritten again, so no need to redirect the output of checkout into that file. Signed-off-by: Stefan Beller Signed-off-by: Junio C Hamano --- diff --git a/t/t3600-rm.sh b/t/t3600-rm.sh index 3d305814b9..95cf63fe60 100755 --- a/t/t3600-rm.sh +++ b/t/t3600-rm.sh @@ -709,7 +709,7 @@ test_expect_success 'checking out a commit after submodule removal needs manual git commit -m "submodule removal" submod && git checkout HEAD^ && git submodule update && - git checkout -q HEAD^ 2>actual && + git checkout -q HEAD^ && git checkout -q master 2>actual && echo "warning: unable to rmdir submod: Directory not empty" >expected && test_i18ncmp expected actual &&