diff options
| author | Xu Cheng | 2015-12-02 14:35:42 +0800 | 
|---|---|---|
| committer | Xu Cheng | 2015-12-03 13:46:59 +0800 | 
| commit | 48950f2cc07d74a52411cf1fe8674409736291ab (patch) | |
| tree | 0da3b69048aea7198636e5f1bd2df3902fc9258b /Library/Homebrew/cmd/info.rb | |
| parent | 9755662e49439c29d5724f5d71f3ba1f03cd9d6d (diff) | |
| download | brew-48950f2cc07d74a52411cf1fe8674409736291ab.tar.bz2 | |
centralize the logic of handling `homebrew-` in Tap.fetch
Closes Homebrew/homebrew#46537.
Signed-off-by: Xu Cheng <xucheng@me.com>
Diffstat (limited to 'Library/Homebrew/cmd/info.rb')
| -rw-r--r-- | Library/Homebrew/cmd/info.rb | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/Library/Homebrew/cmd/info.rb b/Library/Homebrew/cmd/info.rb index da50fe5d2..68e4c5425 100644 --- a/Library/Homebrew/cmd/info.rb +++ b/Library/Homebrew/cmd/info.rb @@ -69,7 +69,7 @@ module Homebrew    def github_info(f)      if f.tap?        user, repo = f.tap.split("/", 2) -      tap = Tap.fetch user, repo.gsub(/^homebrew-/, "") +      tap = Tap.fetch user, repo        if remote = tap.remote          path = f.path.relative_path_from(tap.path)          github_remote_path(remote, path) | 
