Skip to content
Snippets Groups Projects
Commit 22001a7b authored by Pablo Santiago Blum de Aguiar's avatar Pablo Santiago Blum de Aguiar
Browse files

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

Fix #454. Thanks @bucaran :thumbsup:



Signed-off-by: default avatarPablo Santiago Blum de Aguiar <scorphus@gmail.com>
parent 0e21d6be
No related merge requests found
......@@ -34,8 +34,8 @@ function _git_ahead_count -a remote -a branch_name
end
function _git_dirty_remotes -a remote_color -a ahead_color
set current_branch (git rev-parse --abbrev-ref HEAD)
set current_ref (git rev-parse HEAD)
set current_branch (command git rev-parse --abbrev-ref HEAD ^/dev/null)
set current_ref (command git rev-parse HEAD ^/dev/null)
for remote in (git remote)
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment