Re: [PATCH 0/2] diff: add -I<regex> that ignores matching changes
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Oct 1, 2020, 17:02 UTC
- Message-ID
- <xmqq8scpdgl8.fsf@gitster.c.googlers.com>
- In-Reply-To
- <20201001120606.25773-1-michal@isc.org>
Michał Kępień <michal@isc.org> writes:
Show 7 quoted lines
> This patch series adds a new diff option that enables ignoring changes > whose all lines (changed, removed, and added) match a given regular > expression. This is similar to the -I option in standalone diff > utilities and can be used e.g. to look for unrelated changes in commits > containing a large number of automatically applied modifications (e.g. a > tree-wide string replacement). The difference between -G/-S and the new > -I option is that the latter filters output on a per-change basis.
I am uncomfortably excited to see a change to quite a low-level code of the diff machinery. It does not happen every day ;-)