fix expansion inconsistency
This commit is contained in:
committed by
Noah Gorny
parent
feae99431a
commit
3c0738ba43
@@ -127,7 +127,7 @@ function _git-remote-info {
|
|||||||
if [[ "${same_branch_name}" != "true" ]]; then
|
if [[ "${same_branch_name}" != "true" ]]; then
|
||||||
remote_info="\${VCS_STATUS_REMOTE_NAME}"
|
remote_info="\${VCS_STATUS_REMOTE_NAME}"
|
||||||
else
|
else
|
||||||
remote_info="${VCS_STATUS_REMOTE_NAME}/${VCS_STATUS_REMOTE_BRANCH}"
|
remote_info="\${VCS_STATUS_REMOTE_NAME}/\${VCS_STATUS_REMOTE_BRANCH}"
|
||||||
fi
|
fi
|
||||||
elif [[ ${same_branch_name} != "true" ]]; then
|
elif [[ ${same_branch_name} != "true" ]]; then
|
||||||
remote_info="\${VCS_STATUS_REMOTE_BRANCH}"
|
remote_info="\${VCS_STATUS_REMOTE_BRANCH}"
|
||||||
|
|||||||
Reference in New Issue
Block a user