mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-12-02 21:49:49 -05:00
doctor: reset should be done in HOMEBREW_REPOSITORY
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
1 parent
7365f7af6d
commit
637b4fb34e
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user