]> source.dussan.org Git - gitignore.git/commitdiff
Android: Remove redundant pattern for matching build directories 1508/head
authorDarwin Bautista <dbautista@stratpoint.com>
Thu, 7 May 2015 05:39:08 +0000 (13:39 +0800)
committerDarwin Bautista <dbautista@stratpoint.com>
Thu, 7 May 2015 05:56:36 +0000 (13:56 +0800)
build/ already matches all directories named 'build' in the repository,
regardless of level. Gradle can have more than two levels of project nesting.
However, /*/build/ matches only the 'build' directories of 2nd-level projects.
Thus, the first pattern is more appropriate than the second.

Android.gitignore

index ccf2efe026cd2d9d9835a6e71175cd0cbaf94eda..9068cd0110608d841a948dc6431ab64c9c79899d 100644 (file)
@@ -15,7 +15,6 @@ gen/
 # Gradle files
 .gradle/
 build/
-/*/build/
 
 # Local configuration file (sdk path, etc)
 local.properties