aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/switch.rb
AgeCommit message (Collapse)Author
2017-06-20🔨 Fix sorting on APFS.Markus Reiter
2017-06-02Re-revert "Fix operator spacing."Markus Reiter
2017-06-01Revert "Fix operator spacing."ilovezfs
2017-05-31Fix operator spacing.Markus Reiter
2016-10-02Use `module_function` for commands.Markus Reiter
2016-04-10Add all the top level commentsMax Nordlund
2015-08-10don't use new name rack if old name rack is a dirVlad Shablinsky
Everything that used HOMEBREW_CELLAR/canonical_name could point to something that doesn't exist because loader_for tries to load new name formula if no old name found. However there can be software installed from path with the same name that renamed formulae had and we still need to link/unlink/uninstall etc that software. The solution is Formulary#to_rack method that returns rack for given name. - Add Formulary#to_rack - Update ARGV.kegs - Update cmd/switch
2015-08-03Core files style updates.BrewTestBot
Closes Homebrew/homebrew#42354. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-05-27cmd/switch: fix exception.pmwheatley
keg_only? should use 'rack' not 'canonical_name' Closes Homebrew/homebrew#40124. Closes Homebrew/homebrew#40126. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-04-05switch: do not require an existing formulaJack Nagel
2014-09-27Drop executable bits from imported commandsJack Nagel
Closes Homebrew/homebrew#32743.
2014-09-24brew-switch: make an internal command.Mike McQuaid