[llvm] r296188 - [.gitignore] Update .gitignore to ignore a nested build directory

Chris Bieneman via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 24 15:09:30 PST 2017


Author: cbieneman
Date: Fri Feb 24 17:09:30 2017
New Revision: 296188

URL: http://llvm.org/viewvc/llvm-project?rev=296188&view=rev
Log:
[.gitignore] Update .gitignore to ignore a nested build directory

Summary:
A number of tools and common workflows include putting a build directory inside the source checkout under the folder "build". Adding this to .gitignore seems useful.

As an example, the CMake Tools plugin for VSCode does this.

Reviewers: chandlerc, echristo, zturner

Reviewed By: zturner

Subscribers: MatzeB, mehdi_amini, llvm-commits, jgosnell

Differential Revision: https://reviews.llvm.org/D30346

Modified:
    llvm/trunk/.gitignore

Modified: llvm/trunk/.gitignore
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/.gitignore?rev=296188&r1=296187&r2=296188&view=diff
==============================================================================
--- llvm/trunk/.gitignore (original)
+++ llvm/trunk/.gitignore Fri Feb 24 17:09:30 2017
@@ -21,6 +21,9 @@
 #OS X specific files.
 .DS_store
 
+# Nested build directory
+/build
+
 #==============================================================================#
 # Explicit files to ignore (only matches one).
 #==============================================================================#




More information about the llvm-commits mailing list