diff options
| author | Peter Aronoff | 2013-03-12 12:32:49 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2013-03-12 12:32:49 +0000 |
| commit | 3381142bc7ee5e978494d7b89355e6f145b927a5 (patch) | |
| tree | 7d267251bc3a4dd6662c6719cb66e259b99db337 /Library/Homebrew/cmd/missing.rb | |
| parent | 79a67fd097f7e998ed29bad9c98174a82fec4da6 (diff) | |
| download | brew-3381142bc7ee5e978494d7b89355e6f145b927a5.tar.bz2 | |
Update `brew tap` to work without 'homebrew-'
Currently `brew tap` only works on repos with 'homebrew-' in their name.
This version tries the repo name as is and then falls back to try
'homebrew-repo' only if that fails.
I've also tweaked the regex in tap_args to allow '-' in repo names. The
previous regex required a match on \w. This made it impossible for people
to tap repos with names like 'username/why-not'.
Closes Homebrew/homebrew#18366.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Homebrew/cmd/missing.rb')
0 files changed, 0 insertions, 0 deletions
