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

[PATCH 6/6] t9603: use tabs for indentation

From
Johannes Schindelin via GitGitGadget <gitgitgadget@gmail.com>
Date
Nov 9, 2020, 00:09 UTC
Message-ID
<36ed176a4e0ca19a38f1fb968ac8bac83a288fd4.1604880566.git.gitgitgadget@gmail.com>
In-Reply-To
<pull.784.git.1604880565.gitgitgadget@gmail.com>
From: Johannes Schindelin <johannes.schindelin@gmx.de>

This patch will let the new `check-whitespace` GitHub workflow be happy with the upcoming patch series that wants to search-and-replace `master` with `main` in t9603 and some other test scripts.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
---
 t/t9603-cvsimport-patchsets.sh | 24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)
diff --git a/t/t9603-cvsimport-patchsets.sh b/t/t9603-cvsimport-patchsets.sh
index 3e64b11eac..e7a91611dc 100755
--- a/t/t9603-cvsimport-patchsets.sh
+++ b/t/t9603-cvsimport-patchsets.sh
@@ -17,23 +17,23 @@ test_description='git cvsimport testing for correct patchset estimation'
 setup_cvs_test_repository t9603
 
 test_expect_failure PERL 'import with criss cross times on revisions' '
-
-    git cvsimport -p"-x" -C module-git module &&
-    (cd module-git &&
-        git log --pretty=format:%s > ../actual-master &&
-        git log A~2..A --pretty="format:%s %ad" -- > ../actual-A &&
-        echo "" >> ../actual-master &&
-	echo "" >> ../actual-A
-    ) &&
-    echo "Rev 4
+	git cvsimport -p"-x" -C module-git module &&
+	(
+		cd module-git &&
+		git log --pretty=format:%s > ../actual-master &&
+		git log A~2..A --pretty="format:%s %ad" -- > ../actual-A &&
+		echo "" >> ../actual-master &&
+		echo "" >> ../actual-A
+	) &&
+	echo "Rev 4
 Rev 3
 Rev 2
 Rev 1" > expect-master &&
-    test_cmp expect-master actual-master &&
+	test_cmp expect-master actual-master &&
 
-    echo "Rev 5 Branch A Wed Mar 11 19:09:10 2009 +0000
+	echo "Rev 5 Branch A Wed Mar 11 19:09:10 2009 +0000
 Rev 4 Branch A Wed Mar 11 19:03:52 2009 +0000" > expect-A &&
-    test_cmp expect-A actual-A
+	test_cmp expect-A actual-A
 '
 
 test_done
-- 
gitgitgadget
Previous: Johannes Schindelin via GitGitGadget
Message 7 of 7 in “(Mostly whitespace) cleanups in preparation for renaming the default main branch”
  1. 0/6 (Mostly whitespace) cleanups in preparation for renaming the default main branchJohannes Schindelin via GitGitGadget, Nov 9, 2020
  2. 2/6 t3406: indent with tabs, not spacesJohannes Schindelin via GitGitGadget, Nov 9, 2020
  3. 3/6 t3427: adjust stale commentJohannes Schindelin via GitGitGadget, Nov 9, 2020
  4. 1/6 t1004: insert missing "branch" in a messageJohannes Schindelin via GitGitGadget, Nov 9, 2020
  5. 4/6 t5400,t5402: consistently indent with tabs, not with spacesJohannes Schindelin via GitGitGadget, Nov 9, 2020
  6. 5/6 t5570: remove trailing paddingJohannes Schindelin via GitGitGadget, Nov 9, 2020
  7. 6/6 t9603: use tabs for indentationJohannes Schindelin via GitGitGadget, Nov 9, 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.