Revert renaming of tap_git_head
This commit is contained in:
parent
0735eba995
commit
e6dd13d04e
@ -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
|
||||
|
||||
|
@ -41,7 +41,7 @@ class Tab < OpenStruct
|
||||
"source" => {
|
||||
"path" => formula.specified_path.to_s,
|
||||
"tap" => formula.tap&.name,
|
||||
"tap_git_revision" => formula.tap&.git_head,
|
||||
"tap_git_head" => formula.tap&.git_head,
|
||||
"spec" => formula.active_spec_sym.to_s,
|
||||
"versions" => {
|
||||
"stable" => formula.stable&.version.to_s,
|
||||
@ -196,7 +196,7 @@ class Tab < OpenStruct
|
||||
"source" => {
|
||||
"path" => nil,
|
||||
"tap" => nil,
|
||||
"tap_git_revision" => nil,
|
||||
"tap_git_head" => nil,
|
||||
"spec" => "stable",
|
||||
"versions" => {
|
||||
"stable" => nil,
|
||||
|
Loading…
x
Reference in New Issue
Block a user