aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/cppi.rb
diff options
context:
space:
mode:
authorMike McQuaid2015-02-10 11:23:58 +0000
committerMike McQuaid2015-02-11 14:22:48 +0000
commit2d96b48970feff15774e04ae01cec11716f8b7f4 (patch)
tree4dca3ce2a74eaa4044064fafeffffd2ee8b4975e /Library/Formula/cppi.rb
parentf89f0dca9b8826abadabb9597478907dc0e509e8 (diff)
downloadhomebrew-2d96b48970feff15774e04ae01cec11716f8b7f4.tar.bz2
outdated: handle fully qualified tapped formulae.
Previously if I did `brew install boxen/brews/imagemagick` and then `brew upgrade boxen/brews/imagemagick` and the version of `imagemagick` in `boxen/brews` was older than the version in `Homebrew/homebrew` then it would install the correct version from the `boxen/brews` tap and then try to immediately upgrade it to the version from `Homebrew/homebrew`. I'd argue fairly strongly that this behaviour is pretty unintuitive; when you fully specify a formula from a tap then it should be prioritised by `brew upgrade` and `brew outdated. This commit makes `brew upgrade boxen/brews/imagemagick` only upgrade the version of `imagemagick` if the version in the `boxen/brews` tap is newer. Similarly `brew outdated imagemagick` and `brew outdated boxen/brews/imagemagick` will show different results if the newer version differs between `boxen/brews` and `Homebrew/homebrew`. Closes #36699. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula/cppi.rb')
0 files changed, 0 insertions, 0 deletions