diff options
| author | Jack Nagel | 2012-01-24 19:59:24 -0600 |
|---|---|---|
| committer | Jack Nagel | 2012-01-24 19:59:24 -0600 |
| commit | c94e8b380fbf168db08af2989a6cb2d4819b97e3 (patch) | |
| tree | b3e42b2c9744820aa5172d5cd127386ccddc8e24 /Library/Homebrew/cmd | |
| parent | ab31e50574fd70597c3cbe6c90914cc4fcf4b382 (diff) | |
| download | brew-c94e8b380fbf168db08af2989a6cb2d4819b97e3.tar.bz2 | |
doctor: reset should be done in HOMEBREW_REPOSITORY
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Homebrew/cmd')
| -rw-r--r-- | Library/Homebrew/cmd/doctor.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb index 84b21dd7c..5ba57173b 100644 --- a/Library/Homebrew/cmd/doctor.rb +++ b/Library/Homebrew/cmd/doctor.rb @@ -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 |
