Re: [PATCH v4 2/2] selftests/mm: use pattern matching in .gitignore
"David Hildenbrand (Arm)" <[email protected]> Tue, 4 Aug 2026 11:12:03 +0200
| Newsgroups | gmane.linux.kernel,gmane.linux.kernel.mm |
|---|---|
| Message-ID | <[email protected]> |
On 8/4/26 00:17, [email protected] wrote: > From: Pratyush Mallick <[email protected]> > > The current .gitignore hardcodes each generated test binary by name, > requiring updates every time a new test is added. > > Switch to the pattern-matching approach similar to KVM:selftests. > Ignore everything by default and then allow source extensions (.c, .h, .sh) > and tracked non-source files. > > Note that local_config.h was renamed to local_config.h_gen in a previous > patch so that un-ignoring *.h files does not cause generated build > artifacts to become untracked. > > Reviewed-by: Lorenzo Stoakes <[email protected]> > Acked-by: Mike Rapoport (Microsoft) <[email protected]> > Suggested-by: Yosry Ahmed <[email protected]> > Signed-off-by: Pratyush Mallick <[email protected]> > --- Acked-by: David Hildenbrand (Arm) <[email protected]> -- Cheers, David