aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/diagnostic.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/diagnostic.rb b/Library/Homebrew/diagnostic.rb
index 55124b91e..d5f1a61f2 100644
--- a/Library/Homebrew/diagnostic.rb
+++ b/Library/Homebrew/diagnostic.rb
@@ -786,7 +786,7 @@ module Homebrew
EOS
end
- head = coretap_path.head
+ head = coretap_path.git_head
return unless head && head !~ %r{refs/heads/master}
<<-EOS.undent