Simplify .gitignore: projects/* => projects/*/
[oota-llvm.git] / .gitignore
index 7109373b7f8907af5052cdfd132cfd4bc17c0f14..f3424d231e2ddc6691e8f5d7667ed5c6446ba2a8 100644 (file)
@@ -37,15 +37,13 @@ cscope.files
 cscope.out
 autoconf/aclocal.m4
 autoconf/autom4te.cache
-compile_commands.json
+/compile_commands.json
 
 #==============================================================================#
 # Directories to ignore (do not add trailing '/'s, they skip symlinks).
 #==============================================================================#
 # External projects that are tracked independently.
-projects/*
-!projects/CMakeLists.txt
-!projects/Makefile
+projects/*/
 # Clang, which is tracked independently.
 tools/clang
 # LLDB, which is tracked independently.