mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2025-01-22 13:05:14 +08:00
Merge pull request #461 from scorphus/issue-454
fix(scorphish): redirect Git stderr to /dev/null while
This commit is contained in:
commit
edd719c645
|
@ -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)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user