aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/tap.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/tap.rb')
-rw-r--r--Library/Homebrew/tap.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/tap.rb b/Library/Homebrew/tap.rb
index ed93e1266..291bbe077 100644
--- a/Library/Homebrew/tap.rb
+++ b/Library/Homebrew/tap.rb
@@ -230,7 +230,7 @@ class Tap
ohai "Unshallowing #{name}" unless quiet
args = %w[fetch --unshallow]
args << "-q" if quiet
- path.cd { safe_system "git", *args }
+ Utils.with_homebrew_gitconfig { path.cd { safe_system "git", *args } }
return
end
@@ -242,7 +242,7 @@ class Tap
args << "-q" if quiet
begin
- safe_system "git", *args
+ Utils.with_homebrew_gitconfig { safe_system "git", *args }
unless Readall.valid_tap?(self, aliases: true)
unless ARGV.homebrew_developer?
raise "Cannot tap #{name}: invalid syntax in tap!"