From: Andrei Rybak <rybak.a.v@gmail.com>
To: Eric Sunshine <sunshine@sunshineco.com>
Cc: Git List <git@vger.kernel.org>
Subject: Re: [PATCH] t: fix whitespace around &&
Date: Sun, 15 Mar 2020 19:35:39 +0100 [thread overview]
Message-ID: <0ad0600c-d1fc-0f44-dae1-7bd0fc22b3e8@gmail.com> (raw)
In-Reply-To: <CAPig+cTGqEdr+rjRCfKmcm=ab3vKnUokd6KyrsoBiy=AO9nnOQ@mail.gmail.com>
On 2020-03-15 19:20, Eric Sunshine wrote:
> On Sun, Mar 15, 2020 at 2:09 PM Andrei Rybak <rybak.a.v@gmail.com> wrote:
>> Add missing spaces before '&&' and switch tabs to spaces. Also fix the
>> space after redirection operator in t3701-add-interactive.sh while we're
>> here. These issues were found using `git grep '[^ ]&&$'`.
>>
>> Signed-off-by: Andrei Rybak <rybak.a.v@gmail.com>
>> ---
>> diff --git a/t/t9500-gitweb-standalone-no-errors.sh b/t/t9500-gitweb-standalone-no-errors.sh
>> @@ -348,7 +348,7 @@ test_expect_success \
>> - echo "To be changed and have mode changed" > 07-change-mode-change &&
>> + echo "To be changed and have mode changed" > 07-change-mode-change &&
>
> The commit message talks about dropping whitespace after the '>'
> redirection operator (and some of the changes in this patch do so),
> however, this change neglects that cleanup.
Good catch. t9500-gitweb-standalone-no-errors.sh has 35 of these vs 19
redirects with correct formatting, so it might be better to fix those redirects
in a separate patch. What do you think?
>> @@ -361,7 +361,7 @@ test_expect_success \
>> - echo "Changed and have mode changed" > 07-change-mode-change &&
>> + echo "Changed and have mode changed" > 07-change-mode-change &&
>
> Ditto.
>
Thanks for review.
next prev parent reply other threads:[~2020-03-15 18:35 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-15 18:09 [PATCH] t: fix whitespace around && Andrei Rybak
2020-03-15 18:20 ` Eric Sunshine
2020-03-15 18:35 ` Andrei Rybak [this message]
2020-03-15 18:38 ` Eric Sunshine
2020-03-22 21:14 ` [PATCH v2 1/2] t9500: remove spaces after redirect operators Andrei Rybak
2020-03-22 21:14 ` [PATCH v2 2/2] t: fix whitespace around && Andrei Rybak
2020-03-22 23:45 ` Junio C Hamano
-- strict thread matches above, loose matches on Subject: below --
2021-06-07 13:13 [PATCH] " Andrei Rybak
2021-06-07 14:10 ` Derrick Stolee
2021-06-07 18:48 ` Junio C Hamano
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0ad0600c-d1fc-0f44-dae1-7bd0fc22b3e8@gmail.com \
--to=rybak.a.v@gmail.com \
--cc=git@vger.kernel.org \
--cc=sunshine@sunshineco.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).