From: Junio C Hamano Date: Tue, 09 Dec 2025 12:18:06 GMT Subject: Re: [PATCH v2] last-modified: fix use of uninitialized memory Message-ID: In-Reply-To: <871pl4vyd5.fsf@iotcl.com> Toon Claes writes: > Junio C Hamano writes: > >> Sorry, but hasn't the old one already been cooking in 'next'? > > Okay, fine by me. Let's abandon this v2 then. Understood. I however agree with Patrick that rewriting memset(ptr, '\0', sizeof(*ptr) * nr) to use CLEAR_ARRAY(), not limited to last-modified but everywhere in the codebase, may not be a bad idea. It would be a good exercise to hone our Coccinelle skill ;-)