The function _git-hide-status is invoked to late

This commit is contained in:
Piotr Rogoza
2018-07-12 06:32:11 +00:00
parent 260e1851ef
commit f484fadbb1

View File

@@ -389,6 +389,7 @@ function user_host_prompt {
# backwards-compatibility
function git_prompt_info {
_git-hide-status && return
git_prompt_vars
echo -e "${SCM_PREFIX}${SCM_BRANCH}${SCM_STATE}${SCM_SUFFIX}"
}