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
rsbecker@nexbridge.com <rsbecker@nexbridge.com>
Date
Apr 16, 2024, 20:44 UTC
Message-ID
<046c01da903e$d6d97ac0$848c7040$@nexbridge.com>
In-Reply-To
<xmqq7cgxdp0i.fsf@gitster.g>
On Tuesday, April 16, 2024 4:36 PM, Junio C Hamano wrote:
Show 19 quoted lines
>Josh Triplett <josh@joshtriplett.org> writes:
>
>> On Sun, Feb 25, 2024 at 08:21:54PM -0800, Josh Triplett wrote:
>>> 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.
>
>I am not personally interested in the feature myself, and I doubt it would
help the
>end-user experience very much.  You'd need to find somebody else to cheer
for the
>topic ;-)

I am having a bit of trouble understanding the use-case for this. Is it limited to linkgit? Under what circumstances would I need to use such capabilities? Thanks, Randall

Previous: Junio C HamanoNext: Junio C Hamano
Message 4 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.