Skip to contentSkip to conversation

t1016: clean up style

PATCH Superseded Andrew Kreimer 2 participants 3 messages Oct 22, 2024 – Oct 23, 2024

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 t1016: clean up style

Use test_config.

Remove whitespace after redirect operator.

---
v1:
- https://lore.kernel.org/all/[email protected]/

v2:
- Base on "ak/typofix":
- https://lore.kernel.org/all/[email protected]/
- Tested:
- ubuntu-latest, GitHub Actions.

 t/t1016-compatObjectFormat.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
t/t1016-compatObjectFormat.sh +2 -2
index 92024fe51d..8341a2fe83 100755
@@ -116,8 +116,8 @@ do
 		git config core.repositoryformatversion 1 &&
 		git config extensions.objectformat $hash &&
 		git config extensions.compatobjectformat $(compat_hash $hash) &&
-		git config gpg.program $TEST_DIRECTORY/t1016/gpg &&
-		echo "Hello World!" > hello &&
+		test_config gpg.program $TEST_DIRECTORY/t1016/gpg &&
+		echo "Hello World!" >hello &&
 		eval hello_${hash}_oid=$(git hash-object hello) &&
 		git update-index --add hello &&
 		git commit -m "Initial commit" &&
Signature · 1 line
2.39.5
#1 lore raw
Quoted 10 lines · Andrew Kreimer

Use test_config.

Remove whitespace after redirect operator.

---
v1:
- https://lore.kernel.org/all/[email protected]/

Quoted 5 lines

v2:
- Base on "ak/typofix":
- https://lore.kernel.org/all/[email protected]/
- Tested:
- ubuntu-latest, GitHub Actions.

Thanks. In the future, it's preferred to send subsequent rounds in a reply to the initial round so that the discussion all happens in the same thread.

Regardless, thank you for this patch, I've queued it. It looks good to me, but perhaps others could chime in before we start merging this one down.

Quoted 19 lines
 t/t1016-compatObjectFormat.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
t/t1016-compatObjectFormat.sh +2 -3
index 92024fe51d..8341a2fe83 100755
@@ -116,8 +116,8 @@ do
 		git config core.repositoryformatversion 1 &&
 		git config extensions.objectformat $hash &&
 		git config extensions.compatobjectformat $(compat_hash $hash) &&
-		git config gpg.program $TEST_DIRECTORY/t1016/gpg &&
-		echo "Hello World!" > hello &&
+		test_config gpg.program $TEST_DIRECTORY/t1016/gpg &&
+		echo "Hello World!" >hello &&
 		eval hello_${hash}_oid=$(git hash-object hello) &&
 		git update-index --add hello &&
 		git commit -m "Initial commit" &&
--
Quoted 2 lines

2.39.5

Thanks,
Taylor

#2 lore raw
Quoted 3 lines · Taylor Blau

Thanks. In the future, it's preferred to send subsequent rounds in a reply to the initial round so that the discussion all happens in the same thread.

Noted, thank you.