[llvm] r240771 - Do not ignore projects/LLVMBuild.txt in git repo

Sergey Dmitrouk sdmitrouk at accesssoftek.com
Sun Jun 28 02:07:42 PDT 2015


On Sat, Jun 27, 2015 at 09:24:41AM -0700, Duncan P. N. Exon Smith wrote:
>
> > On 2015 Jun 26, at 03:13, Sergey Dmitrouk <sdmitrouk at accesssoftek.com> wrote:
> >
> > Author: sdmitrouk
> > Date: Fri Jun 26 05:13:56 2015
> > New Revision: 240771
> >
> > URL: http://llvm.org/viewvc/llvm-project?rev=240771&view=rev
> > Log:
> > Do not ignore projects/LLVMBuild.txt in git repo
> >
> > Without explicit exception for the path, it matches projects/* rule.
> >
> > Modified:
> >    llvm/trunk/.gitignore
> >
> > Modified: llvm/trunk/.gitignore
> > URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/.gitignore?rev=240771&r1=240770&r2=240771&view=diff
> > ==============================================================================
> > --- llvm/trunk/.gitignore (original)
> > +++ llvm/trunk/.gitignore Fri Jun 26 05:13:56 2015
> > @@ -45,6 +45,7 @@ autoconf/autom4te.cache
> > # External projects that are tracked independently.
> > projects/*
> > !projects/CMakeLists.txt
> > +!projects/LLVMBuild.txt
> > !projects/Makefile
>
> Should the `projects/*` rule just be changed to `projects/*/`?

I don't put anything in that directory and not sure how convenient it
would be to do not ignore all files directly under it, thus followed
existing pattern.

`projects/*/` works too (although I'm not sure since which version of
git it is supported), in case anyone feels like it's better way of doing
this.

-- 
Sergey



More information about the llvm-commits mailing list