diff options
| author | Jiang Xin | 2013-04-09 11:01:58 +0800 |
|---|---|---|
| committer | Jack Nagel | 2013-04-11 23:45:15 -0500 |
| commit | 885292e16ecb458e31bd97c6557c15a2eeb15629 (patch) | |
| tree | e4088b85138fd43cf0e76140c37699b4bafe1f60 /Library/Formula | |
| parent | 012fe005f7e05211c5038bc4e1af86aab3875dfa (diff) | |
| download | homebrew-885292e16ecb458e31bd97c6557c15a2eeb15629.tar.bz2 | |
versions: work for tapped formulae
brew versions is hardcoded to cd to HOMEBREW_REPOSITORY before running
git, and as such fails to report previous versions for any formulae
from a tapped repository.
Add two new private methods repository and entry_name to replace the
hardcoded HOMEBREW_REPOSITORY and formula path, and brew versions
work for both builtin and tapped formulae.
Closes #12356.
Closes #19069.
Reported-by: Misty De Meo <mistydemeo@gmail.com>
Suggested-by: Jack Nagel <jacknagel@gmail.com>
Signed-off-by: Jiang Xin <worldhello.net@gmail.com>
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
0 files changed, 0 insertions, 0 deletions
