Re: [RFC PATCH] selftests/mm: use pattern matching in .gitignore
From: David Hildenbrand (Arm)
Date: Wed Apr 22 2026 - 14:06:49 EST
On 4/21/26 20:30, pratmal@xxxxxxxxxx wrote:
> From: Pratyush Mallick <pratmal@xxxxxxxxxx>
>
> The current .gitignore hardcodes each generated test binary by name,
> requiring updates every time a new test is added.
>
> Switch to the patten-matching approach similar to KVM:selftests.
> Ignore everything by default and then allow source extensions (.c, .h, .sh)
> and tracked non-source files.
That looks pretty nice. Any reason for the RFC? (iow, are you unsure about some
side-effects?)
--
Cheers,
David