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

Re: [PATCH] make slash rules more readable

From
Junio C Hamano <gitster@pobox.com>
Date
May 8, 2019, 01:42 UTC
Message-ID
<xmqqlfzhk9he.fsf@gitster-ct.c.googlers.com>
In-Reply-To
<6549e684-ac91-4a66-afa0-73c0e8c658f8@in-ici.net>
"Dr. Adam Nielsen" <admin@in-ici.net> writes:
Show 19 quoted lines
> On 07.05.19 12:07, Junio C Hamano wrote:
>> "Dr. Adam Nielsen" <admin@in-ici.net> writes:
>>
>>> gitignore.txt: make slash-rules more readable
>>>
>>> Make all paragraphs valid, even if they are not read
>>> in strict order. Make paragraph better understandable
>>> for pattern without slash. Add paragraph for pattern
>>> with slash. Be precise whenever a trailing slashes
>>> would make a difference. Add some examples.
>>>
>>> Signed-off-by: Dr. Adam Nielsen <admin@in-ici.net>
>>>
>>
>> Have you run "git diff --check" before committing the change?  It
>> seems that many updated lines end in trailing spaces.
>>
>
> Uh, I forgot that. I will send a clean version in a moment.
It's OK; "git am --whitespace=fix" can rescue a gotcha like this.
Previous: Dr. Adam Nielsen
Message 4 of 4 in “make slash rules more readable”
  1. make slash rules more readableDr. Adam Nielsen, May 4, 2019
  2. Junio C HamanoMay 7, 2019
  3. Dr. Adam NielsenMay 7, 2019
  4. Junio C HamanoMay 8, 2019

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.