aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/doctor.rb
diff options
context:
space:
mode:
authorMike McQuaid2013-12-17 23:40:21 +0000
committerMike McQuaid2013-12-17 23:40:21 +0000
commit3c3155dfdf86e0fe03fbee075d1e61d31988d2e3 (patch)
tree869c5f340016615804ba964f0bb61260156633c3 /Library/Homebrew/cmd/doctor.rb
parentaf30dd23ee36ed3cefc2c3d1d01ceecb163f791e (diff)
downloadhomebrew-3c3155dfdf86e0fe03fbee075d1e61d31988d2e3.tar.bz2
doctor: don't complain about unmigrated remote.
Diffstat (limited to 'Library/Homebrew/cmd/doctor.rb')
-rw-r--r--Library/Homebrew/cmd/doctor.rb10
1 files changed, 1 insertions, 9 deletions
diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb
index 4124ef04a..cf691c7f9 100644
--- a/Library/Homebrew/cmd/doctor.rb
+++ b/Library/Homebrew/cmd/doctor.rb
@@ -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