Skip to content

Commit

Permalink
Make brew doctor reset instructions clearer.
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeMcQuaid committed Jan 24, 2012
1 parent a10134e commit d8a552c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Library/Homebrew/cmd/doctor.rb
Expand Up @@ -755,7 +755,8 @@ def check_git_status
cmd = `git status -s Library/Homebrew/`.chomp
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: git reset --hard"
puts "Unless you know what you are doing, you should run:"
puts "cd "+HOMEBREW_PREFIX+" && git reset --hard"
puts
end
end
Expand Down

0 comments on commit d8a552c

Please sign in to comment.