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

[PATCH] t9363: Cleanup old version of code

From
Iizabela.bakollari@gmail.com <izabela.bakollari@gmail.com>
Date
Oct 31, 2020, 15:14 UTC
Message-ID
<20201031151434.36400-1-izabela.bakollari@gmail.com>
From: Izabela Bakollari <izabela.bakollari@gmail.com>
Change style for `cd` in subshell.
Signed-off-by: Izabela Bakollari <izabela.bakollari@gmail.com>
---
 contrib/mw-to-git/t/t9363-mw-to-git-export-import.sh | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/contrib/mw-to-git/t/t9363-mw-to-git-export-import.sh b/contrib/mw-to-git/t/t9363-mw-to-git-export-import.sh
index 6187ec67fa..f09a7ed034 100755
--- a/contrib/mw-to-git/t/t9363-mw-to-git-export-import.sh
+++ b/contrib/mw-to-git/t/t9363-mw-to-git-export-import.sh
@@ -53,8 +53,12 @@ test_expect_failure 'git clone works on previously created wiki with media files
 	git clone -c remote.origin.mediaimport=true \
 		mediawiki::'"$WIKI_URL"' mw_dir_clone &&
 	test_cmp mw_dir_clone/Foo.txt mw_dir/Foo.txt &&
-	(cd mw_dir_clone && git checkout HEAD^) &&
-	(cd mw_dir && git checkout HEAD^) &&
+	(
+		cd mw_dir_clone && git checkout HEAD^
+	) &&
+	(
+		cd mw_dir && git checkout HEAD^
+	) &&
 	test_path_is_file mw_dir_clone/Foo.txt &&
 	test_cmp mw_dir_clone/Foo.txt mw_dir/Foo.txt
 '
-- 
2.18.4
Next: Junio C Hamano
Message 1 of 2 in “t9363: Cleanup old version of code”
  1. t9363: Cleanup old version of codeizabela.bakollari@gmail.com, Oct 31, 2020
  2. Junio C HamanoOct 31, 2020

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.