This should have been handled before, but didn't due to a bug.
I just ran into this state for the first time.
else
gitaction="am/rebase"
fi
- print '%s' ${gitaction}
+ printf '%s' ${gitaction}
return 0
fi
done
|| [[ -d "${gitdir}/../.dotest" ]] \
|| [[ -f "${gitdir}/MERGE_HEAD" ]] ; then
gitbranch="$(${(z)gitsymref} 2> /dev/null)"
+ [[ -z ${gitbranch} ]] && gitbranch="$(< ${gitdir}/rebase-apply/head-name)"
elif [[ -f "${gitdir}/rebase-merge/interactive" ]] \
|| [[ -d "${gitdir}/rebase-merge" ]] ; then