git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] t3600: remove useless redirect
@ 2016-12-02 20:05 Stefan Beller
  0 siblings, 0 replies; only message in thread
From: Stefan Beller @ 2016-12-02 20:05 UTC (permalink / raw)
  To: gitster; +Cc: git, bmwill, Stefan Beller

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(-)

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


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-12-02 20:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-02 20:05 [PATCH] t3600: remove useless redirect Stefan Beller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).