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

Re: [PATCH] advice: Add advice.scissors to suppress "do not modify or remove this line"

From
Josh Triplett <josh@joshtriplett.org>
Date
Apr 16, 2024, 19:11 UTC
Message-ID
<Zh7NZhB1n2o1k7jI@localhost>
In-Reply-To
<0a7b9172add0a0107e0765a59a798b92161788dd.1708921148.git.josh@joshtriplett.org>
On Sun, Feb 25, 2024 at 08:21:54PM -0800, Josh Triplett wrote:
Show 12 quoted lines
> The scissors line before the diff in a verbose commit, or above all the
> comments when using --cleanup=scissors, has the following two lines of
> explanation after it:
> 
> Do not modify or remove the line above.
> Everything below it will be ignored.
> 
> This is useful advice for new users, but potentially redundant for
> experienced users, who might instead appreciate seeing two more lines of
> information in their editor.
> 
> Add advice.scissors to suppress that explanation.
Following up on this patch. Happy to rework if needed.
Previous: Josh TriplettNext: Junio C Hamano
Message 2 of 8 in “advice: Add advice.scissors to suppress "do not modify or remove this line"”
  1. advice: Add advice.scissors to suppress "do not modify or remove this line"Josh Triplett, Feb 26, 2024
  2. Josh TriplettApr 16, 2024
  3. Junio C HamanoApr 16, 2024
  4. rsbecker@nexbridge.comApr 16, 2024
  5. Junio C HamanoApr 16, 2024
  6. rsbecker@nexbridge.comApr 16, 2024
  7. Dragan SimicApr 17, 2024
  8. Rubén JustoApr 16, 2024

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.