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

Re: [PATCH] t: fix whitespace around &&

From
Derrick Stolee <stolee@gmail.com>
Date
Jun 7, 2021, 14:10 UTC
Message-ID
<56915c33-10b8-2ecb-6862-6d56d791dff9@gmail.com>
In-Reply-To
<20210607131320.982362-1-rybak.a.v@gmail.com>
On 6/7/2021 9:13 AM, Andrei Rybak wrote:
> Add missing spaces before '&&' and switch tabs around '&&' to spaces.
> 
> These issues were found using `git grep '[^ ]&&$'` and
> `git grep -P '&&\t'`.

Thanks for this mostly-obvious cleanup, especially for fixing the mistakes I made.

> -		set ${files} &&	file=$1 && shift && files="$*" &&
> +		set ${files} && file=$1 && shift && files="$*" &&

This is the one that is not obvious, but it is because of an instance of "&&\t" in the middle of the line. Thanks for catching it!

-Stolee
Previous: Andrei RybakNext: Junio C Hamano
Message 2 of 3 in “t: fix whitespace around &&”
  1. t: fix whitespace around &&Andrei Rybak, Jun 7, 2021
  2. Derrick StoleeJun 7, 2021
  3. Junio C HamanoJun 7, 2021

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.