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

Re: Enabling scissors by default?

From
Junio C Hamano <gitster@pobox.com>
Date
Jan 8, 2013, 23:36 UTC
Message-ID
<7vr4lvb63a.fsf@alter.siamese.dyndns.org>
In-Reply-To
<50ECAAE2.2020507@ubuntu.com>
Phillip Susi <psusi@ubuntu.com> writes:
Show 9 quoted lines
> On 01/08/2013 05:42 PM, Junio C Hamano wrote:
>> It is very easy to miss misidentification of scissors line; as a 
>> dangerous, potentially information losing option, I do not think
>> it should be on by default.
>
> I suppose if it only requires one instance of >8 or <8 and one -, it
> might be *slightly* dangerous, but if it required a slightly longer
> minimum line length, it would be pretty darn unlikely to get triggered
> by accident, and of course, is easily disabled.

"Easily disabled" is never a good enough reason to change the long established default of not doing anything funky unless the user explicitly asks it to do things differently.

You could introduce a new configuration variable "am.scissors" and personally turn it on, though. Setting that variable *does* count as the user explicitly asking for it.

> I often see patches being tweaked in response to feedback and
> resubmitted, usually with a description of what has changed since the
> previous version.  Such descriptions don't need to be in the change
> log when it is finally applied and seem a perfect use of scissors.
Putting such small logs under "---" line is the accepted practice.
Previous: Phillip SusiNext: Jeff King
Message 4 of 6 in “Enabling scissors by default?”
  1. Phillip SusiJan 8, 2013
  2. Junio C HamanoJan 8, 2013
  3. Phillip SusiJan 8, 2013
  4. Junio C HamanoJan 8, 2013
  5. Jeff KingJan 9, 2013
  6. Junio C HamanoJan 9, 2013

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.