diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb index 06f3d8c6ee..3eb04a5057 100644 --- a/Library/Homebrew/cmd/doctor.rb +++ b/Library/Homebrew/cmd/doctor.rb @@ -924,7 +924,7 @@ def check_git_status If this a surprise to you, then you should stash these modifications. Stashing returns Homebrew to a pristine state but can be undone should you later need to do so for some reason. - cd #{HOMEBREW_REPOSITORY}/Library && git stash && git clean -f + cd #{HOMEBREW_REPOSITORY}/Library && git stash && git clean -d -f EOS end end