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

jt/diff-anchored-patience, was Re: What's cooking in git.git (Nov 2017, #08; Tue, 28)

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Dec 1, 2017, 13:49 UTC
Message-ID
<alpine.DEB.2.21.1.1712011447550.98586@virtualbox>
In-Reply-To
<xmqq1skh6fyz.fsf@gitster.mtv.corp.google.com>
Hi Junio,
On Wed, 29 Nov 2017, Junio C Hamano wrote:
Show 6 quoted lines
> * jt/diff-anchored-patience (2017-11-28) 1 commit
>  - diff: support anchoring line(s)
> 
>  "git diff" learned a variant of the "--patience" algorithm, to
>  which the user can specify which 'unique' line to be used as
>  anchoring points.

FWIW I am very much in favor of this feature. I often wished for something easy to make sure that certain lines (which I know are unchanged) are not marked as "-" and then "+". And Jonathan's design (--anchor=<prefix>) seems sound. If need be, I can always extend it to (--anchor-regex=<pattern>).

Ciao, Dscho

Previous: Johannes SchindelinNext: Lars Schneider
Message 4 of 9 in “What's cooking in git.git (Nov 2017, #08; Tue, 28)”
  1. Junio C HamanoNov 29, 2017
  2. Johannes SchindelinDec 1, 2017
  3. cc/require-tcl-tk-for-build, was Re: What's cooking in git.git (Nov 2017, #08; Tue, 28)Johannes Schindelin, Dec 1, 2017
  4. jt/diff-anchored-patience, was Re: What's cooking in git.git (Nov 2017, #08; Tue, 28)Johannes Schindelin, Dec 1, 2017
  5. Lars SchneiderDec 1, 2017
  6. jn/reproducible-build, was Re: What's cooking in git.git (Nov 2017, #08; Tue, 28)Johannes Schindelin, Dec 1, 2017
  7. Lars SchneiderDec 1, 2017
  8. Jeff HostetlerDec 1, 2017
  9. Junio C HamanoDec 3, 2017

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.