git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 3/3] t/t5400-send-pack.sh: re-indent subshell invocation

From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Date
Jan 18, 2011, 21:41 UTC
Message-ID
<1295386896-21828-3-git-send-email-avarab@gmail.com>
In-Reply-To
<1295386896-21828-1-git-send-email-avarab@gmail.com>

Change a subshell invocation in t/t5400-send-pack.sh to use one line per command in the subshell, that's the usual syntax we use for tests.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
---
 t/t5400-send-pack.sh |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/t/t5400-send-pack.sh b/t/t5400-send-pack.sh
index 0357610..d4db5ac 100755
--- a/t/t5400-send-pack.sh
+++ b/t/t5400-send-pack.sh
@@ -32,7 +32,11 @@ test_expect_success setup '
 	done &&
 	git update-ref HEAD "$commit" &&
 	git clone ./. victim &&
-	( cd victim && git config receive.denyCurrentBranch warn && git log ) &&
+	(
+	    cd victim &&
+	    git config receive.denyCurrentBranch warn &&
+	    git log
+	) &&
 	git update-ref HEAD "$zero" &&
 	parent=$zero &&
 	i=0 &&
-- 
1.7.2.3
Previous: Junio C Hamano
Message 4 of 4 in “t/t5400-send-pack.sh: use the canonical test_expect_success syntax”
  1. 1/3 t/t5400-send-pack.sh: use the canonical test_expect_success syntaxÆvar Arnfjörð Bjarmason, Jan 18, 2011
  2. 2/3 t/t5400-send-pack.sh: add test_when_finished commandsÆvar Arnfjörð Bjarmason, Jan 18, 2011
  3. Junio C HamanoJan 18, 2011
  4. 3/3 t/t5400-send-pack.sh: re-indent subshell invocationÆvar Arnfjörð Bjarmason, Jan 18, 2011

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.