[PATCH] .gitignore: add some rules to clarify 'arc diff'

Ramkumar Ramachandra artagnon at gmail.com
Wed Jan 7 13:00:57 PST 2015


The leading '/' means anchored to toplevel: so, 'foo' matches the file or directory 'foo' in any subdirectory of the tree, '/foo' matches the file or directory 'foo' at the toplevel of the tree. Many of the other rules should probably be updated to contain the leading '/' as well, but that's the subject of another change.


================
Comment at: .gitignore:46
@@ -38,1 +45,3 @@
+# LLVM build tree, by convention
+/build
 # External projects that are tracked independently.
----------------
beanz wrote:
> Do most people do in-tree builds? I exclusively do out of tree CMake/configure.
Not sure about this. I thought in-tree meant a Debug+Asserts/ directory in each subdirectory of the tree. But if the style is to take the build/ directory out of the source tree entirely, I'll remove this rule and do that from now on.

http://reviews.llvm.org/D6869

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list