[llvm] r240973 - Simplify .gitignore: projects/* => projects/*/

Chris Bieneman beanz at apple.com
Tue Jul 7 07:44:19 PDT 2015


Was there a driving reason for this change or was this just to simplify things?

The reason I’m asking is because this is not functionally equivalent to what existed before. With this change, if you symlink projects under the projects folder the symlinks don’t get ignored by git.

-Chris

> On Jun 29, 2015, at 12:43 PM, Duncan P. N. Exon Smith <dexonsmith at apple.com> wrote:
> 
> Author: dexonsmith
> Date: Mon Jun 29 12:43:26 2015
> New Revision: 240973
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=240973&view=rev
> Log:
> Simplify .gitignore: projects/* => projects/*/
> 
> Avoid listing inclusions (like `!projects/LLVMBuild.txt`) for files
> directly underneath `projects/` in `.gitignore`.  Instead, change the
> `projects/*` exclusion to the more specific `projects/*/`.
> 
> Modified:
>    llvm/trunk/.gitignore
> 
> Modified: llvm/trunk/.gitignore
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/.gitignore?rev=240973&r1=240972&r2=240973&view=diff
> ==============================================================================
> --- llvm/trunk/.gitignore (original)
> +++ llvm/trunk/.gitignore Mon Jun 29 12:43:26 2015
> @@ -43,10 +43,7 @@ autoconf/autom4te.cache
> # Directories to ignore (do not add trailing '/'s, they skip symlinks).
> #==============================================================================#
> # External projects that are tracked independently.
> -projects/*
> -!projects/CMakeLists.txt
> -!projects/LLVMBuild.txt
> -!projects/Makefile
> +projects/*/
> # Clang, which is tracked independently.
> tools/clang
> # LLDB, which is tracked independently.
> 
> 
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits





More information about the llvm-commits mailing list