git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] t7500-commit.sh: do not call test_set_editor unnecessarily, it's confusing
@ 2008-12-29  9:24 Adeodato Simó
  2008-12-29  9:46 ` Junio C Hamano
  0 siblings, 1 reply; 9+ messages in thread
From: Adeodato Simó @ 2008-12-29  9:24 UTC (permalink / raw)
  To: git, gitster; +Cc: Adeodato Simó

Signed-off-by: Adeodato Simó <dato@net.com.org.es>
---

I was reading this test case, and it took a small bit to figure out the
editor was not being used at all. I hope there was no hidden reason for
it to be there, and it can go away.

Cheers,

 t/t7500-commit.sh |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/t/t7500-commit.sh b/t/t7500-commit.sh
index 6e18a96..5998baf 100755
--- a/t/t7500-commit.sh
+++ b/t/t7500-commit.sh
@@ -149,10 +149,7 @@ EOF
 
 test_expect_success '--signoff' '
 	echo "yet another content *narf*" >> foo &&
-	echo "zort" | (
-		test_set_editor "$TEST_DIRECTORY"/t7500/add-content &&
-		git commit -s -F - foo
-	) &&
+	echo "zort" | git commit -s -F - foo &&
 	git cat-file commit HEAD | sed "1,/^$/d" > output &&
 	test_cmp expect output
 '
-- 
1.6.1.307.g07803

^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2009-01-10 11:49 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-29  9:24 [PATCH] t7500-commit.sh: do not call test_set_editor unnecessarily, it's confusing Adeodato Simó
2008-12-29  9:46 ` Junio C Hamano
2008-12-29  9:52   ` Adeodato Simó
2008-12-29  9:57     ` Junio C Hamano
2008-12-30 12:04   ` Johannes Schindelin
2009-01-09 17:30     ` [PATCH v2] t7501-commit.sh: explicitly check that -F prevents invoking the editor Adeodato Simó
2009-01-10 10:19       ` Johannes Schindelin
2009-01-10 10:32         ` Adeodato Simó
2009-01-10 11:48           ` Johannes Schindelin

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