aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/utils/git.rb
diff options
context:
space:
mode:
authorilovezfs2018-01-15 07:30:56 +0000
committerGitHub2018-01-15 07:30:56 +0000
commit17f80a44e63d1fb0cbfc48dc602c62bbc01ad8fa (patch)
tree420625a658a8ad26c25ea4d5240cc27b8ff89a23 /Library/Homebrew/utils/git.rb
parent253a41f52370a2625a0e2684f7afa85405cdc5d2 (diff)
downloadbrew-17f80a44e63d1fb0cbfc48dc602c62bbc01ad8fa.tar.bz2
Revert "Use Homebrew's gitconfig for various commands"
Diffstat (limited to 'Library/Homebrew/utils/git.rb')
-rw-r--r--Library/Homebrew/utils/git.rb6
1 files changed, 0 insertions, 6 deletions
diff --git a/Library/Homebrew/utils/git.rb b/Library/Homebrew/utils/git.rb
index c50979b1e..f1113af66 100644
--- a/Library/Homebrew/utils/git.rb
+++ b/Library/Homebrew/utils/git.rb
@@ -60,12 +60,6 @@ module Utils
raise "Git is unavailable" unless git_available?
end
- def self.with_homebrew_gitconfig
- with_env(HOME: HOMEBREW_LIBRARY/"Homebrew/gitconfig") do
- yield if block_given?
- end
- end
-
def self.clear_git_available_cache
@git = nil
@git_path = nil