[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] tests: Simplify .gitignore
From: |
Markus Armbruster |
Subject: |
Re: [Qemu-devel] [PATCH] tests: Simplify .gitignore |
Date: |
Wed, 20 Jun 2018 08:53:21 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
Eric Blake <address@hidden> 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 <address@hidden>
No objections to your patch, but the true cure for the ".gitignore is
huge and perpetually stale" is getting rid of in-tree builds.