Eric Blake <ebl...@redhat.com> writes: > Commit 0bcc8e5b was yet another instance of 'git status' reporting > dirty files after an in-tree build, thanks to the new binary > tests/check-block-qdict. > > Instead of piecemeal exemptions of each new binary as they are > added, let's use git's negative globbing feature to exempt ALL > files that have a 'test-' or 'check-' prefix, except for the ones > ending in '.c' or '.sh'. We still have a couple of generated > files that then need (re-)exclusion, but the overall list is a > LOT shorter, and less prone to needing future edits. > > Signed-off-by: Eric Blake <ebl...@redhat.com>
No objections to your patch, but the true cure for the ".gitignore is huge and perpetually stale" is getting rid of in-tree builds.