Re: [PATCH v2 2/3] diff: add -I<regex> that ignores matching changes
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Oct 13, 2020, 15:49 UTC
- Message-ID
- <xmqqk0vuktxm.fsf@gitster.c.googlers.com>
- In-Reply-To
- <20201013063722.GC3278@larwa.hq.kempniu.pl>
Michał Kępień <michal@isc.org> writes:
> ... xcalloc()'s semantics
> ("allocate one structure of this size") appealed to me, ...FWIW, it appeals to me, too ;-) But if we are going to pass it to regcomp(), there is no point clearing it beforehand.