Re: [RFC PATCH] t/helper: Move sources to t/helper-src; gitignore any files in t/helper
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Dec 12, 2017, 19:59 UTC
- Message-ID
- <xmqqbmj31zve.fsf@gitster.mtv.corp.google.com>
- In-Reply-To
- <20171212190026.17671-1-sbeller@google.com>
Stefan Beller <sbeller@google.com> writes:
Show 9 quoted lines
> Compiled test helpers in t/helper are out of sync with the .gitignore > files quite frequently. This can happen when new test helpers are added, > but the explicit .gitignore file is not updated in the same commit, or > when you forget to 'make clean' before checking out a different version > of git, as the different version may have a different explicit list of > test helpers to ignore. > > This can be fixed by using overly broad ignore patterns, such as ignoring > the whole directory via '//t/helper/*' in .gitignore.
If we ignore everything but resurrect *.[ch] with negative exclude rules, can we do the same without moving things around?