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

Re: [BUG] diff algorithm selection issue

From
Junio C Hamano <gitster@pobox.com>
Date
May 26, 2020, 18:33 UTC
Message-ID
<xmqq5zcio8b5.fsf@gitster.c.googlers.com>
In-Reply-To
<505382066.1036329918.1590513687177.JavaMail.root@zimbra39-e7>
ydirson@free.fr writes:
Show 5 quoted lines
>> Or is it rather intended to be `--diff-algorithm=default --minimal`,
>> whatever the default may be in the future ?
>
> Now that I think about it, do we really want "minimal" as a valid choice
> for --diff-algorithm, if it's not a choice of algorithm ?

I asked the same question to myself before writing my first response but it is way too late to ask it now. I do support the spirit of "--minimal", but not "--diff-algorithm=minimal" which may be an ill-thought-out shorthand for "--diff-algorithm=default --minimal".

If you dig the list archive, I would imagine that you would find that not an insignificant part of list participant back then thought it was a good idea ;-)

Previous: ydirson@free.fr
Message 6 of 6 in “[BUG] diff algorithm selection issue”
  1. ydirson@free.frMay 26, 2020
  2. Junio C HamanoMay 26, 2020
  3. Junio C HamanoMay 26, 2020
  4. ydirson@free.frMay 26, 2020
  5. ydirson@free.frMay 26, 2020
  6. Junio C HamanoMay 26, 2020

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.