doctor: reset should be done in HOMEBREW_REPOSITORY

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
Jack Nagel 2012-01-24 19:59:24 -06:00
parent ab31e50574
commit c94e8b380f

View File

@ -756,7 +756,7 @@ def check_git_status
if system "/usr/bin/which -s git" and File.directory? '.git' and not cmd.empty?
ohai "You have uncommitted modifications to Homebrew's core."
puts "Unless you know what you are doing, you should run:"
puts "cd "+HOMEBREW_PREFIX+" && git reset --hard"
puts "cd "+HOMEBREW_REPOSITORY+" && git reset --hard"
puts
end
end