Skip to content

Commit

Permalink
Merge pull request #1522 from MikeMcQuaid/audit-one-previous-commit
Browse files Browse the repository at this point in the history
audit: only check previous formula version.
  • Loading branch information
MikeMcQuaid authored Nov 16, 2016
2 parents 768a08a + 31caa8e commit edf042e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Library/Homebrew/dev-cmd/audit.rb
Original file line number Diff line number Diff line change
Expand Up @@ -661,7 +661,7 @@ def audit_revision_and_version_scheme
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")
Expand Down

0 comments on commit edf042e

Please sign in to comment.