aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
diff options
context:
space:
mode:
authorJack Nagel2013-10-04 13:08:13 -0500
committerJack Nagel2013-10-04 13:08:13 -0500
commita6b885f0eb6018e743b38a8e68b97225a36a7391 (patch)
treefd757fa66dd67ff51f58e2db612c393ec4305049 /Library/Homebrew/cmd
parentd2386f07b05fb583927471a637184af6fbe99acb (diff)
downloadhomebrew-a6b885f0eb6018e743b38a8e68b97225a36a7391.tar.bz2
config: squelch stderr when invoking git
Diffstat (limited to 'Library/Homebrew/cmd')
-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