diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb index c76bfd1cb0..eb28baaddc 100644 --- a/Library/Homebrew/formula_installer.rb +++ b/Library/Homebrew/formula_installer.rb @@ -1163,7 +1163,7 @@ class FormulaInstaller tab.source["versions"]["stable"] = formula.stable.version.to_s tab.source["versions"]["version_scheme"] = formula.version_scheme tab.source["path"] = formula.specified_path.to_s - tab.source["tap_git_revision"] = formula.tap&.installed? ? formula.tap&.git_head : nil + tab.source["tap_git_head"] = formula.tap&.installed? ? formula.tap&.git_head : nil tab.tap = formula.tap tab.write diff --git a/Library/Homebrew/tab.rb b/Library/Homebrew/tab.rb index 4725036189..7ce6b00c08 100644 --- a/Library/Homebrew/tab.rb +++ b/Library/Homebrew/tab.rb @@ -39,11 +39,11 @@ class Tab < OpenStruct "runtime_dependencies" => Tab.runtime_deps_hash(formula, runtime_deps), "arch" => Hardware::CPU.arch, "source" => { - "path" => formula.specified_path.to_s, - "tap" => formula.tap&.name, - "tap_git_revision" => formula.tap&.git_head, - "spec" => formula.active_spec_sym.to_s, - "versions" => { + "path" => formula.specified_path.to_s, + "tap" => formula.tap&.name, + "tap_git_head" => formula.tap&.git_head, + "spec" => formula.active_spec_sym.to_s, + "versions" => { "stable" => formula.stable&.version.to_s, "head" => formula.head&.version.to_s, "version_scheme" => formula.version_scheme, @@ -194,11 +194,11 @@ class Tab < OpenStruct "runtime_dependencies" => nil, "arch" => nil, "source" => { - "path" => nil, - "tap" => nil, - "tap_git_revision" => nil, - "spec" => "stable", - "versions" => { + "path" => nil, + "tap" => nil, + "tap_git_head" => nil, + "spec" => "stable", + "versions" => { "stable" => nil, "head" => nil, "version_scheme" => 0,