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