aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2013-10-04 13:08:13 -0500
committerJack Nagel2013-10-04 13:08:13 -0500
commit5b0e0c257064c44dc4e59ef6b2b7b5d9cbe12d5e (patch)
tree68d3d50f8cd1f048188cea82b749ecc69709a7c8 /Library
parent7bb90c992a511b61342c8c94152a0a2e49527629 (diff)
downloadbrew-5b0e0c257064c44dc4e59ef6b2b7b5d9cbe12d5e.tar.bz2
config: squelch stderr when invoking git
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/--config.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/--config.rb b/Library/Homebrew/cmd/--config.rb
index ecbcb0a1d..2c1bedaf5 100644
--- a/Library/Homebrew/cmd/--config.rb
+++ b/Library/Homebrew/cmd/--config.rb
@@ -56,7 +56,7 @@ module Homebrew extend self
def origin
origin = HOMEBREW_REPOSITORY.cd do
- `git config --get remote.origin.url`.chomp
+ `git config --get remote.origin.url 2>/dev/null`.chomp
end
if origin.empty? then "(none)" else origin end
end