threads / patch / 52404

patcht3404: fix indentation

Subject: [PATCH 0/1] t3404: fix indentation

## tl;dr

2 messages between Dec 7, 2019 and Dec 7, 2019. Diffs are folded; open one to read it.

replies: 1people: 1as markdown or json

Johannes Schindelin via GitGitGadget· Dec 7, 2019, 22:22 UTC · lore

Just a little style fix for code that I stumbled on while trying to get the CI build of pu to pass again.

Johannes Schindelin (1):
  t3404: fix indentation
 t/t3404-rebase-interactive.sh | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
base-commit: 083378cc35c4dbcc607e4cdd24a5fca440163d17
Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-487%2Fdscho%2Ft3404-fix-indentation-v1
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-487/dscho/t3404-fix-indentation-v1
Pull-Request: https://github.com/gitgitgadget/git/pull/487
-- 
gitgitgadget
Johannes Schindelin via GitGitGadget· Dec 7, 2019, 22:22 UTC · re: Johannes Schindelin via GitGitGadget · lore

[PATCH 1/1] t3404: fix indentation

From: Johannes Schindelin <johannes.schindelin@gmx.de>

This test case was added in 66ae9a57b88 (t3404: rebase -i: demonstrate short SHA-1 collision, 2013-08-23), and it is not indented in the way we usually indent sub-shell code in our test cases these days.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
---
 t/t3404-rebase-interactive.sh | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
Show changes to t/t3404-rebase-interactive.sh +5 −5
diff --git a/t/t3404-rebase-interactive.sh b/t/t3404-rebase-interactive.sh
index bf0dc756d2..ae6e55ce79 100755
--- a/t/t3404-rebase-interactive.sh
+++ b/t/t3404-rebase-interactive.sh
@@ -1265,11 +1265,11 @@ test_expect_success SHA1 'short SHA-1 collide' '
 	test_when_finished "reset_rebase && git checkout master" &&
 	git checkout collide &&
 	(
-	unset test_tick &&
-	test_tick &&
-	set_fake_editor &&
-	FAKE_COMMIT_MESSAGE="collide2 ac4f2ee" \
-	FAKE_LINES="reword 1 2" git rebase -i HEAD~2
+		unset test_tick &&
+		test_tick &&
+		set_fake_editor &&
+		FAKE_COMMIT_MESSAGE="collide2 ac4f2ee" \
+		FAKE_LINES="reword 1 2" git rebase -i HEAD~2
 	)
 '
 
-- 
gitgitgadget

← back to recent threads