t1016: clean up style
PATCH 1/1 t1016: clean up style
Use test_config.
Remove whitespace after redirect operator.
---
As discussed in:
- https://lore.kernel.org/git/[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
@@ -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 "Hellow World!" > hello && + test_config gpg.program $TEST_DIRECTORY/t1016/gpg && + echo "Hellow 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
Hi
Quoted 14 lines · Andrew Kreimer
Use
test_config.Remove whitespace after redirect operator.
Reported-by Taylor Blau <[email protected]>Signed-off-by Andrew Kreimer <[email protected]>---
As discussed in:
- https://lore.kernel.org/git/[email protected]/
[…]t/t1016-compatObjectFormat.sh +2
-2- git config gpg.program $TEST_DIRECTORY/t1016/gpg && - echo "Hellow World!" > hello && + test_config gpg.program $TEST_DIRECTORY/t1016/gpg && + echo "Hellow World!" >hello &&
Quoted 2 lines · What Taylor
Thanks, both. [Andrew] -- it's fine to do this in the same, or a separate patch in the new round. Thanks.
You’ve posted a new, standalone patch. But what Taylor asked for was a new round on that typo patch where you either squash these changes into the original patch or have the typo patch plus this one.
At least that’s how I understand it.
This patch by itself doesn’t do much since the file is full of this style violation. Which I now realize is what you meant when you asked:[1]
Quoted 1 line
Do you mean that '> more' and '> another' should be handled similarly?
You were referring to other style violations in the file. But I only looked at the email so I didn’t catch that.
Quoted 20 lines · Kristoffer Haugsbakk
Hi
Quoted 10 lines · Andrew Kreimer
Use
test_config.Remove whitespace after redirect operator.
Reported-by Taylor Blau <[email protected]>Signed-off-by Andrew Kreimer <[email protected]>---
As discussed in:
- https://lore.kernel.org/git/[email protected]/
[…]t/t1016-compatObjectFormat.sh do · line 120
Quoted 4 lines
t/t1016-compatObjectFormat.sh +2
-2- git config gpg.program $TEST_DIRECTORY/t1016/gpg && - echo "Hellow World!" > hello && + test_config gpg.program $TEST_DIRECTORY/t1016/gpg && + echo "Hellow World!" >hello &&What Taylor wrote:
Quoted 8 lines
Quoted 2 lines
Thanks, both. [Andrew] -- it's fine to do this in the same, or a separate patch in the new round. Thanks.
You’ve posted a new, standalone patch. But what Taylor asked for was a new round on that typo patch where you either squash these changes into the original patch or have the typo patch plus this one.
At least that’s how I understand it.
I said originally that either was fine, but then revised my statement after remembering that the original topic was already in 'next', so any further changes would have to be done on top.
Thanks,
Taylor
Quoted 28 lines · Taylor Blau
Quoted 27 lines · Kristoffer Haugsbakk
Hi
Quoted 14 lines · Andrew Kreimer
Use
test_config.Remove whitespace after redirect operator.
Reported-by Taylor Blau <[email protected]>Signed-off-by Andrew Kreimer <[email protected]>---
As discussed in:
- https://lore.kernel.org/git/[email protected]/
[…]t/t1016-compatObjectFormat.sh +2
-2- git config gpg.program $TEST_DIRECTORY/t1016/gpg && - echo "Hellow World!" > hello && + test_config gpg.program $TEST_DIRECTORY/t1016/gpg && + echo "Hellow World!" >hello &&Quoted 2 lines · What Taylor
Thanks, both. [Andrew] -- it's fine to do this in the same, or a separate patch in the new round. Thanks.
You’ve posted a new, standalone patch. But what Taylor asked for was a new round on that typo patch where you either squash these changes into the original patch or have the typo patch plus this one.
Quoted 5 lines
Quoted 1 line
At least that’s how I understand it.
I said originally that either was fine, but then revised my statement after remembering that the original topic was already in 'next', so any further changes would have to be done on top.
...but after queueing, this patch does not apply cleanly on ak/typofix, which is what this patch should be based on AFAICT.
Andrew, would you please send a version based on the aforementioned topic?
Thanks,
Taylor
Quoted 8 lines · Taylor Blau
...but after queueing, this patch does not apply cleanly on ak/typofix, which is what this patch should be based on AFAICT.
Andrew, would you please send a version based on the aforementioned topic?
Thanks,
Taylor
Absolutely, thank you both for the clarification.