Skip to content
Snippets Groups Projects
Commit 63e6632a authored by Bob Wombat Hogg's avatar Bob Wombat Hogg
Browse files

docs: Update tap-pin and tap-unpin disable explanations

I interpreted the existing message as meaning "you don't pin
a tap any more, rather you pin a specific formula from that
tap". I.e. the command still worked, but it had to be done
on a per-formula basis (eg. `brew tap-pin linuxbrew/xorg/mesa` instead
of just `brew tap-pin linuxbrew/xorg`)

IMO, this makes it clearer that the command itself is no longer
supported.
parent c88d587b
No related branches found
No related tags found
No related merge requests found
......@@ -12,7 +12,7 @@ module Homebrew
end
def tap_pin
odisabled "brew tap-pin user/tap",
"fully-scoped user/tap/formula naming"
odisabled "the brew tap-pin command",
"fully-scoped user/tap/formula naming when installing and in dependency references"
end
end
......@@ -12,7 +12,7 @@ module Homebrew
end
def tap_unpin
odisabled "brew tap-pin user/tap",
"fully-scoped user/tap/formula naming"
odisabled "the brew tap-unpin command",
"fully-scoped user/tap/formula naming when installing and in dependency references"
end
end
......@@ -491,8 +491,8 @@ module Formulary
if possible_pinned_tap_formulae.size == 1
selected_formula = factory(possible_pinned_tap_formulae.first, spec)
if core_path(ref).file?
odisabled "brew tap-pin user/tap",
"fully-scoped user/tap/formula naming"
odisabled "the brew tap-pin command",
"fully-scoped user/tap/formula naming when installing and in dependency references"
end
selected_formula
else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment