Readd verbose output in 'portzap pull'

This commit is contained in:
0x1eef 2024-04-20 10:53:58 -03:00
parent bd84f7f134
commit aafb3aaec1

View file

@ -50,11 +50,11 @@ if [ ! -e "${gitdir}/.git" ]; then
exit 1 exit 1
fi fi
umask ${mode}
cd "${gitdir}" cd "${gitdir}"
remote=$(gitexec "remote" | head -n1) remote=$(gitexec "remote" | head -n1)
cbranch=$(gitexec "branch --show-current") cbranch=$(gitexec "branch --show-current")
if [ "${cbranch}" != "${branch}" ]; then if [ "${cbranch}" != "${branch}" ]; then
change_branch "${remote}" "${branch}" change_branch "${remote}" "${branch}"
fi fi
set -x
gitexec "pull --rebase ${remote} ${branch}" gitexec "pull --rebase ${remote} ${branch}"