Reduce the visual noise generated by set -x
This commit is contained in:
parent
d33cd6628f
commit
d5770bc731
2 changed files with 0 additions and 4 deletions
|
@ -43,10 +43,8 @@ if [ -e "${gitdir}/.git" ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
set -x
|
|
||||||
git clone "${giturl}" "${gitdir}"
|
git clone "${giturl}" "${gitdir}"
|
||||||
cd "${gitdir}"
|
cd "${gitdir}"
|
||||||
git config core.filemode off
|
git config core.filemode off
|
||||||
git checkout -t origin/"${branch}"
|
git checkout -t origin/"${branch}"
|
||||||
set +x
|
|
||||||
printok "clone complete"
|
printok "clone complete"
|
||||||
|
|
|
@ -42,9 +42,7 @@ if [ ! -e "${gitdir}/.git" ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
set -x
|
|
||||||
cd "${gitdir}"
|
cd "${gitdir}"
|
||||||
branch=$(git branch --show-current)
|
branch=$(git branch --show-current)
|
||||||
git pull --rebase origin "${branch}"
|
git pull --rebase origin "${branch}"
|
||||||
set +x
|
|
||||||
printok "pull complete"
|
printok "pull complete"
|
||||||
|
|
Loading…
Reference in a new issue