Include branch we're switching from

Signed-off-by: Adam Warner <adamw@rner.email>
This commit is contained in:
Adam Warner 2017-07-27 22:21:25 +01:00
parent f38912a0c9
commit d90489b31d
No known key found for this signature in database
GPG key ID: 03843F6C65554B22

View file

@ -171,7 +171,7 @@ checkout_pull_branch() {
oldbranch="$(git symbolic-ref HEAD)" oldbranch="$(git symbolic-ref HEAD)"
str="Switching to branch: ${branch}" str="Switching to branch: '${branch}' from '${oldbranch}'"
echo -ne " ${INFO} $str" echo -ne " ${INFO} $str"
git checkout "${branch}" --quiet || return 1 git checkout "${branch}" --quiet || return 1
echo -e "${OVER} ${TICK} $str" echo -e "${OVER} ${TICK} $str"