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
|
||||
fi
|
||||
|
||||
set -x
|
||||
git clone "${giturl}" "${gitdir}"
|
||||
cd "${gitdir}"
|
||||
git config core.filemode off
|
||||
git checkout -t origin/"${branch}"
|
||||
set +x
|
||||
printok "clone complete"
|
||||
|
|
|
@ -42,9 +42,7 @@ if [ ! -e "${gitdir}/.git" ]; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
set -x
|
||||
cd "${gitdir}"
|
||||
branch=$(git branch --show-current)
|
||||
git pull --rebase origin "${branch}"
|
||||
set +x
|
||||
printok "pull complete"
|
||||
|
|
Loading…
Reference in a new issue