silent git stash

This commit is contained in:
Yehor Lvivski 2013-11-07 20:11:40 +02:00
parent 11b67218d1
commit babaae4d2e

View File

@ -111,7 +111,7 @@ function build_prompt {
will_rebase=$(git config --get branch.${current_branch}.rebase 2> /dev/null)
number_of_stashes=$(git stash list | wc -l)
number_of_stashes=$(git stash list 2> /dev/null | wc -l)
if [[ $number_of_stashes -gt 0 ]]; then has_stashes=true; else has_stashes=false; fi
else
is_on_a_tag=false