aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael J. Spencer <bigcheesegs@gmail.com>2010-12-17 17:22:50 +0000
committerMichael J. Spencer <bigcheesegs@gmail.com>2010-12-17 17:22:50 +0000
commit1f95a9db4bc8baf3d97fbfcb2f31e573e13b059a (patch)
treef1135629a2749f03c2229675d5a2250dc782e0e2
parentcc2a8fefb6f23e4002d686ff1fda1c16766c7d6f (diff)
downloadexternal_llvm-1f95a9db4bc8baf3d97fbfcb2f31e573e13b059a.zip
external_llvm-1f95a9db4bc8baf3d97fbfcb2f31e573e13b059a.tar.gz
external_llvm-1f95a9db4bc8baf3d97fbfcb2f31e573e13b059a.tar.bz2
Cleanup and document .gitignore.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122066 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--.gitignore38
1 files changed, 32 insertions, 6 deletions
diff --git a/.gitignore b/.gitignore
index 97d08ad..2e2713a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,11 +1,37 @@
-tools/clang
+#==============================================================================#
+# This file specifies intentionally untracked files that git should ignore.
+# See: http://www.kernel.org/pub/software/scm/git/docs/gitignore.html
+#
+# This file is intentionally different from the output of `git svn show-ignore`,
+# as most of those are useless.
+#==============================================================================#
-*.pyc
+#==============================================================================#
+# File extensions to be ignored anywhere in the tree.
+#==============================================================================#
+# Temp files created by most text editors.
*~
+# Merge files created by git.
+*.orig
+# Byte compiled python modules.
+*.pyc
+
+#==============================================================================#
+# Explicit files to ignore (only matches one).
+#==============================================================================#
.gitusers
-projects/test-suite
-projects/test-suite-externals
-projects/compiler-rt
-projects/libcxx
cscope.files
cscope.out
+autoconf/aclocal.m4
+autoconf/autom4te.cache
+
+#==============================================================================#
+# Directories to ignore (do not add trailing '/'s, they skip symlinks).
+#==============================================================================#
+# External projects that are tracked independently.
+projects/*
+!projects/sample
+!projects/CMakeLists.txt
+!projects/Makefile
+# Clang, which is tracked independently.
+tools/clang