diff options
| author | Mike McQuaid | 2013-12-17 16:25:51 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2013-12-17 16:25:51 +0000 |
| commit | 5751b9e66c6d6e107e59671ced85d1eaa96ac51e (patch) | |
| tree | f68ca345c77eabacf5752d8e66351e0514756148 /Library | |
| parent | 371858f41921f85bf1a98726c91fd9a94e8600a5 (diff) | |
| download | brew-5751b9e66c6d6e107e59671ced85d1eaa96ac51e.tar.bz2 | |
doctor: add instructions for remote migration.
Diffstat (limited to 'Library')
| -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. |
