Re: [PATCH v2 2/3] diff: add -I<regex> that ignores matching changes
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Oct 12, 2020, 21:43 UTC
- Message-ID
- <xmqqpn5nm87u.fsf@gitster.c.googlers.com>
- In-Reply-To
- <nycvar.QRO.7.76.6.2010122236130.50@tvgsbejvaqbjf.bet>
Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
> the use of `xcalloc()`, and now that I think further about it, an > `xmalloc()` should be plenty enough: `regcomp()` does not need that struct > to be initialized to all zero.
Yup, I think it makes sense.