aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/utils
diff options
context:
space:
mode:
authorilovezfs2018-01-14 23:35:39 -0800
committerGitHub2018-01-14 23:35:39 -0800
commit85f7b04efe6fbfa8a2aceb4c54dd90b29d6dd4d2 (patch)
tree420625a658a8ad26c25ea4d5240cc27b8ff89a23 /Library/Homebrew/utils
parent253a41f52370a2625a0e2684f7afa85405cdc5d2 (diff)
parent17f80a44e63d1fb0cbfc48dc602c62bbc01ad8fa (diff)
downloadbrew-85f7b04efe6fbfa8a2aceb4c54dd90b29d6dd4d2.tar.bz2
Merge pull request #3684 from Homebrew/revert-3670-gitconfig
Revert "Use Homebrew's gitconfig for various commands"
Diffstat (limited to 'Library/Homebrew/utils')
-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