Skip to content
Snippets Groups Projects
Commit e7947f4f authored by Jack Nagel's avatar Jack Nagel
Browse files

doctor: minor grammatical fix


Signed-off-by: default avatarJack Nagel <jacknagel@gmail.com>
parent 0cc3eb29
No related branches found
No related tags found
No related merge requests found
......@@ -752,7 +752,7 @@ end
def check_git_status
status_cmd = "git --git-dir=#{HOMEBREW_REPOSITORY}/.git --work-tree=#{HOMEBREW_PREFIX} status -s #{HOMEBREW_PREFIX}/Library/Homebrew"
if system "/usr/bin/which -s git" and File.directory? HOMEBREW_REPOSITORY+'.git' and not `#{status_cmd}`.empty?
ohai "You have uncommitted modifications to Homebrew core"
ohai "You have uncommitted modifications to Homebrew's core."
puts "Unless you know what you are doing, you should: git reset --hard"
puts
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment