diff options
| author | Mike McQuaid | 2013-12-17 16:25:51 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2013-12-17 16:25:51 +0000 |
| commit | 4a4ca0bb43ae1398bcf4e4eacb6265ffdf60728b (patch) | |
| tree | 164e76c4711a4e21eec48552cc7ec959f80b21eb /Library/Homebrew/cmd/doctor.rb | |
| parent | e1e5a5cf28e228c68b3f39bf03a2e95472d97426 (diff) | |
| download | homebrew-4a4ca0bb43ae1398bcf4e4eacb6265ffdf60728b.tar.bz2 | |
doctor: add instructions for remote migration.
Diffstat (limited to 'Library/Homebrew/cmd/doctor.rb')
| -rw-r--r-- | Library/Homebrew/cmd/doctor.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb index efefdc72c..7814ce0ee 100644 --- a/Library/Homebrew/cmd/doctor.rb +++ b/Library/Homebrew/cmd/doctor.rb @@ -777,6 +777,14 @@ 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 Suspicious git origin remote found. |
