aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/utils
diff options
context:
space:
mode:
authormansimarkaur2017-08-25 17:55:54 +0530
committermansimarkaur2017-08-29 22:53:10 +0530
commit784250d55099f16d8b9c3553a219d603c200cb6b (patch)
tree7146fa561b423316bdcf9240ad238ae1874ddc29 /Library/Homebrew/utils
parentc695dffd373aefaaa84f1cf1098d23bd9f1d998d (diff)
downloadbrew-784250d55099f16d8b9c3553a219d603c200cb6b.tar.bz2
Used already existing clear_git_available_cache to remove @git
Diffstat (limited to 'Library/Homebrew/utils')
-rw-r--r--Library/Homebrew/utils/git.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/Library/Homebrew/utils/git.rb b/Library/Homebrew/utils/git.rb
index 4fdcf1a2e..1fc01188c 100644
--- a/Library/Homebrew/utils/git.rb
+++ b/Library/Homebrew/utils/git.rb
@@ -26,10 +26,6 @@ module Git
end
module Utils
- def self.clear_git_version_cache
- remove_instance_variable(:@git) if instance_variable_defined?(:@git)
- end
-
def self.git_available?
return @git if instance_variable_defined?(:@git)
@git = quiet_system HOMEBREW_SHIMS_PATH/"scm/git", "--version"