Skip to content

Commit 8954bd7

Browse files
stefanbellergitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent bbad9f9 commit 8954bd7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/t3600-rm.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -709,7 +709,7 @@ test_expect_success 'checking out a commit after submodule removal needs manual
709709
git commit -m "submodule removal" submod &&
710710
git checkout HEAD^ &&
711711
git submodule update &&
712-
git checkout -q HEAD^ 2>actual &&
712+
git checkout -q HEAD^ &&
713713
git checkout -q master 2>actual &&
714714
echo "warning: unable to rmdir submod: Directory not empty" >expected &&
715715
test_i18ncmp expected actual &&

0 commit comments

Comments
 (0)