threads / patch / 44596

patcht3600: remove useless redirect

Subject: [PATCH] t3600: remove useless redirect

## tl;dr

One message between Dec 2, 2016 and Dec 2, 2016. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Stefan Beller· Dec 2, 2016, 20:05 UTC · lore

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 <sbeller@google.com>
---
 t/t3600-rm.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Show changes to t/t3600-rm.sh +1 −1
diff --git a/t/t3600-rm.sh b/t/t3600-rm.sh
index 14f0edca2b..6e587f956f 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 &&
 	test_i18ngrep "^warning: unable to rmdir submod:" actual &&
 	git status -s submod >actual &&
-- 
2.10.2.613.g22f2156

← back to recent threads