fix(scorphish): redirect Git stderr to /dev/null while

Fix #454. Thanks @bucaran 👍

Signed-off-by: Pablo Santiago Blum de Aguiar <scorphus@gmail.com>
This commit is contained in:
Pablo Santiago Blum de Aguiar 2015-05-23 22:05:17 -03:00
parent 0e21d6be2d
commit 22001a7b50

View File

@ -34,8 +34,8 @@ function _git_ahead_count -a remote -a branch_name
end end
function _git_dirty_remotes -a remote_color -a ahead_color function _git_dirty_remotes -a remote_color -a ahead_color
set current_branch (git rev-parse --abbrev-ref HEAD) set current_branch (command git rev-parse --abbrev-ref HEAD ^/dev/null)
set current_ref (git rev-parse HEAD) set current_ref (command git rev-parse HEAD ^/dev/null)
for remote in (git remote) for remote in (git remote)