robbyrussell/oh-my-zsh — pull request #2906 by tarleb (2014-06-24 11:09:35+00:00)
Title: git_prompt_info: Ignore errors produced by `git config`

The function `git_prompt_info` calls `git config` for its stdout output,
but doesn't handle the stderr output. This can lead to problems,
e.g. if the git config file is unreadable for some reason (permissions
etc).

This fixes the issue by simply ignoring the stderr output.