Skip to content
Browse files

Make brew doctor reset instructions clearer.

Fixes #9739.
  • Loading branch information...
1 parent a10134e commit d8a552c8d06e3878232500e58b6cf2e370844af0 @MikeMcQuaid MikeMcQuaid committed Jan 24, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 Library/Homebrew/cmd/doctor.rb
3 Library/Homebrew/cmd/doctor.rb
@@ -755,7 +755,8 @@ def check_git_status
cmd = `git status -s Library/Homebrew/`.chomp
if system "/usr/bin/which -s git" and '.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"

0 comments on commit d8a552c

Please sign in to comment.
Something went wrong with that request. Please try again.