aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorMike McQuaid2016-11-16 10:25:11 +0000
committerGitHub2016-11-16 10:25:11 +0000
commitedf042ee97f80955b077724119e717a51eb25e29 (patch)
tree398cd70b44ba455610d4c9027d99ebf9ce23b641 /Library/Homebrew
parent768a08ae633aebc723aa332885db214ceb5b3844 (diff)
parent31caa8ef93a5742383b198095668e532eefa4b21 (diff)
downloadbrew-edf042ee97f80955b077724119e717a51eb25e29.tar.bz2
Merge pull request #1522 from MikeMcQuaid/audit-one-previous-commit1.1.1
audit: only check previous formula version.
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/dev-cmd/audit.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/dev-cmd/audit.rb b/Library/Homebrew/dev-cmd/audit.rb
index c4e4cb7e8..c7461fc5a 100644
--- a/Library/Homebrew/dev-cmd/audit.rb
+++ b/Library/Homebrew/dev-cmd/audit.rb
@@ -661,7 +661,7 @@ class FormulaAuditor
return unless formula.tap.git? # git log is required
return if @new_formula
- fv = FormulaVersions.new(formula, max_depth: 10)
+ fv = FormulaVersions.new(formula, max_depth: 1)
attributes = [:revision, :version_scheme]
attributes_map = fv.version_attributes_map(attributes, "origin/master")