From: Junio C Hamano Date: Tue, 12 Dec 2017 19:59:33 GMT Subject: Re: [RFC PATCH] t/helper: Move sources to t/helper-src; gitignore any files in t/helper Message-ID: In-Reply-To: <20171212190026.17671-1-sbeller@google.com> Stefan Beller writes: > 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?