From 246eabac01f9d65c328bd8bec86a38d20d2a34bf Mon Sep 17 00:00:00 2001 From: Bo Anderson Date: Fri, 7 Oct 2022 18:33:35 +0100 Subject: [PATCH] formula_auditor: support non-master default branch for downgrade audit --- Library/Homebrew/formula_auditor.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/formula_auditor.rb b/Library/Homebrew/formula_auditor.rb index b68a81f3df..e67e546937 100644 --- a/Library/Homebrew/formula_auditor.rb +++ b/Library/Homebrew/formula_auditor.rb @@ -731,7 +731,7 @@ module Homebrew newest_committed_revision = nil newest_committed_url = nil - fv.rev_list("origin/master") do |rev| + fv.rev_list("origin/HEAD") do |rev| begin fv.formula_at_revision(rev) do |f| stable = f.stable