doctor: don't complain about unmigrated remote.
This commit is contained in:
parent
4b7f435a00
commit
268e32e37c
@ -777,15 +777,7 @@ def check_git_origin
|
||||
cd #{HOMEBREW_REPOSITORY}
|
||||
git remote add origin https://github.com/Homebrew/homebrew.git
|
||||
EOS
|
||||
elsif origin =~ /mxcl\/homebrew(\.git)?$/ then <<-EOS.undent
|
||||
Outdated git origin remote found.
|
||||
|
||||
The main Homebrew repository has migrated to:
|
||||
https://github.com/Homebrew/homebrew.git
|
||||
|
||||
Run `brew update` (again) to migrate to the new main repository location.
|
||||
EOS
|
||||
elsif origin !~ /Homebrew\/homebrew(\.git)?$/ then <<-EOS.undent
|
||||
elsif origin !~ /(mxcl|Homebrew)\/homebrew(\.git)?$/ then <<-EOS.undent
|
||||
Suspicious git origin remote found.
|
||||
|
||||
With a non-standard origin, Homebrew won't pull updates from
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user