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

Re: [PATCH] add--interactive: respect diff.algorithm

From
Junio C Hamano <gitster@pobox.com>
Date
Jun 23, 2013, 20:37 UTC
Message-ID
<7v4ncoftsj.fsf@alter.siamese.dyndns.org>
In-Reply-To
<20130623195017.GI4676@serenity.lan>
John Keeping <john@keeping.me.uk> writes:
Show 5 quoted lines
> The patch below involves deeper Perl magic than I fully grok, but
> wouldn't it be simpler to simply use the fact that the string is
> "command --options..." and use:
>
>     splice @diff_cmd 1, 0, "--diff-algorithm=${diff_algorithm}";

That inserts the extra options as the first thing on the command line, which is also fine.

Previous: John Keeping
Message 10 of 10 in “Different diff strategies in add --interactive”
  1. John KeepingJun 10, 2013
  2. Junio C HamanoJun 10, 2013
  3. Jeff KingJun 10, 2013
  4. John KeepingJun 10, 2013
  5. Jeff KingJun 10, 2013
  6. add--interactive: respect diff.algorithmJohn Keeping, Jun 12, 2013
  7. Jeff KingJun 12, 2013
  8. Junio C HamanoJun 23, 2013
  9. John KeepingJun 23, 2013
  10. Junio C HamanoJun 23, 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.