[PATCH] D57400: Add a .gitignore file to the root that ignores any files outside of the project directories.

Peter Collingbourne via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 29 10:44:33 PST 2019


pcc created this revision.
pcc added reviewers: jyknight, labath.

This allows users to store build directories in the root directory
(as recommended by the new monorepo instructions) without them being
considered by git to be untracked.


https://reviews.llvm.org/D57400

Files:
  .gitignore


Index: .gitignore
===================================================================
--- /dev/null
+++ .gitignore
@@ -0,0 +1,25 @@
+# Ignore any files outside of the project directories so that users can store
+# their build directories here without them being considered untracked.
+
+/*
+!/.arcconfig
+!/.clang-format
+!/.clang-tidy
+!/.gitignore
+!/README.md
+!/clang
+!/clang-tools-extra
+!/compiler-rt
+!/debuginfo-tests
+!/libclc
+!/libcxx
+!/libcxxabi
+!/libunwind
+!/lld
+!/lldb
+!/llgo
+!/llvm
+!/openmp
+!/parallel-libs
+!/polly
+!/pstl


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D57400.184122.patch
Type: text/x-patch
Size: 548 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190129/f4e415b4/attachment.bin>


More information about the llvm-commits mailing list