diff options
| author | Max Howell | 2012-08-06 16:44:11 -0400 |
|---|---|---|
| committer | Max Howell | 2012-08-06 16:44:11 -0400 |
| commit | 08fddfdbc20a4e73de73a725446414b168fb368a (patch) | |
| tree | cd56c8c13d3297fa79de77ef270072e4a4d9994c /Library/Homebrew/cmd | |
| parent | 188d3e3781979b66e94bb5384dd96645a2270f8a (diff) | |
| download | homebrew-08fddfdbc20a4e73de73a725446414b168fb368a.tar.bz2 | |
Don't error out if never `brew updated`
Fixes #12944.
Diffstat (limited to 'Library/Homebrew/cmd')
| -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 02cacff1d..96152a5c8 100644 --- a/Library/Homebrew/cmd/info.rb +++ b/Library/Homebrew/cmd/info.rb @@ -21,7 +21,7 @@ module Homebrew extend self end def github_fork - if which 'git' + if which 'git' and (HOMEBREW_REPOSITORY/".git").directory? if `git remote -v` =~ %r{origin\s+(https?://|git(?:@|://))github.com[:/](.+)/homebrew} $2 end |
