[LLVMdev] [PATCH] .gitignore: add rules for a clean worktree
Ramkumar Ramachandra
artagnon at gmail.com
Tue Nov 13 08:34:00 PST 2012
Hi Dmitri,
Dmitri Gribenko wrote:
> On Tue, Nov 13, 2012 at 6:02 PM, Ramkumar Ramachandra
> <artagnon at gmail.com> wrote:
>> Add several .gitignore rules to various directories to ensure a clean
>> worktree after a default build.
>
> Hi,
>
> These gitignore lists require maintenance. Is is possible to express
> the same set of filenames as patterns like '*.inc' in the root
> gitigrore file, so that adding/removing a new generated file does not
> require updating gitignore?
That's a valid concern, but there are plenty of *.inc files that
aren't meant to be ignored; for example lib/Support/Unix/Host.inc. I
can't think of any other patterns that would further simplify my
patch. Also, it's idiomatic to use a per-directory .gitignore rather
than one toplevel .gitignore.
Ram
More information about the llvm-dev
mailing list