Merge git, git-svn in case..esac

This commit is contained in:
Olivier Mengué 2013-05-23 00:23:56 +02:00
parent ad3a979614
commit ab56219df1

View File

@ -1501,8 +1501,8 @@ _lp_set_prompt()
# if do not change of working directory but...
elif [[ -n "$LP_VCS_TYPE" ]]; then # we are still in a VCS dir
case "$LP_VCS_TYPE" in
git) LP_VCS=$(_lp_sl "$(_lp_git_branch_color)");;
git-svn) LP_VCS=$(_lp_sl "$(_lp_git_branch_color)");;
# git, git-svn
git*) LP_VCS=$(_lp_sl "$(_lp_git_branch_color)");;
hg) LP_VCS=$(_lp_sl "$(_lp_hg_branch_color)");;
svn) LP_VCS=$(_lp_sl "$(_lp_svn_branch_color)");;
fossil) LP_VCS=$(_lp_sl "$(_lp_fossil_branch_color)");;