Simplify .gitignore: projects/* => projects/*/
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Mon, 29 Jun 2015 17:43:26 +0000 (17:43 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Mon, 29 Jun 2015 17:43:26 +0000 (17:43 +0000)
Avoid listing inclusions (like `!projects/LLVMBuild.txt`) for files
directly underneath `projects/` in `.gitignore`.  Instead, change the
`projects/*` exclusion to the more specific `projects/*/`.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@240973 91177308-0d34-0410-b5e6-96231b3b80d8

.gitignore

index 0705990f2bc2f8d8065bb28cd0014901b1890fa0..f3424d231e2ddc6691e8f5d7667ed5c6446ba2a8 100644 (file)
@@ -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.