diff --git a/Library/Homebrew/dev-cmd/audit.rb b/Library/Homebrew/dev-cmd/audit.rb index 6c21c25dee469e25c92fa858388d1f31912ddd85..b083b237cdcfabf8be95e2b132b66ae233540941 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")