diff --git a/libexec/sourcezap/commands/sourcezap-clone b/libexec/sourcezap/commands/sourcezap-clone index 31dfaf8..6d78986 100755 --- a/libexec/sourcezap/commands/sourcezap-clone +++ b/libexec/sourcezap/commands/sourcezap-clone @@ -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" diff --git a/libexec/sourcezap/commands/sourcezap-pull b/libexec/sourcezap/commands/sourcezap-pull index e40b731..7171caf 100755 --- a/libexec/sourcezap/commands/sourcezap-pull +++ b/libexec/sourcezap/commands/sourcezap-pull @@ -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"