From a1728a817406c51c7a5f42284b12458d0ee21d59 Mon Sep 17 00:00:00 2001 From: Mike McQuaid <mike@mikemcquaid.com> Date: Sat, 14 Dec 2013 18:15:12 +0000 Subject: [PATCH] doctor: check for migrated origin Git remote. Closes Homebrew/homebrew#25211. --- Library/Homebrew/cmd/doctor.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb index 62c028f67f..f4fe611d77 100644 --- a/Library/Homebrew/cmd/doctor.rb +++ b/Library/Homebrew/cmd/doctor.rb @@ -775,9 +775,9 @@ def check_git_origin Without a correctly configured origin, Homebrew won't update properly. You can solve this by adding the Homebrew remote: cd #{HOMEBREW_REPOSITORY} - git remote add origin https://github.com/mxcl/homebrew.git + git remote add origin https://github.com/Homebrew/homebrew.git EOS - elsif origin !~ /mxcl\/homebrew(\.git)?$/ then <<-EOS.undent + elsif origin !~ /Homebrew\/homebrew(\.git)?$/ then <<-EOS.undent Suspicious git origin remote found. With a non-standard origin, Homebrew won't pull updates from @@ -786,7 +786,7 @@ def check_git_origin Unless you have compelling reasons, consider setting the origin remote to point at the main repository, located at: - https://github.com/mxcl/homebrew.git + https://github.com/Homebrew/homebrew.git EOS end end -- GitLab