diff --git a/llvm/.gitignore b/llvm/.gitignore index f3424d231e2d..e3d191dcbcce 100644 --- a/llvm/.gitignore +++ b/llvm/.gitignore @@ -43,7 +43,9 @@ autoconf/autom4te.cache # Directories to ignore (do not add trailing '/'s, they skip symlinks). #==============================================================================# # External projects that are tracked independently. -projects/*/ +projects/* +!projects/*.* +!projects/Makefile # Clang, which is tracked independently. tools/clang # LLDB, which is tracked independently.