diff --git a/libexec/portzap/portzap-clone b/libexec/portzap/portzap-clone index e5cb317..0dc54da 100755 --- a/libexec/portzap/portzap-clone +++ b/libexec/portzap/portzap-clone @@ -13,4 +13,5 @@ if [ -e "${gitdir}/.git" ]; then exit 1 fi umask u=rwX,g=rwX,o= +set -x git clone --depth 1 "${giturl}" "${gitdir}" diff --git a/libexec/portzap/portzap-pull b/libexec/portzap/portzap-pull index da59930..c8fc515 100755 --- a/libexec/portzap/portzap-pull +++ b/libexec/portzap/portzap-pull @@ -8,6 +8,7 @@ gitdir=$1 # main umask u=rwX,g=rwX,o= if [ -e "${gitdir}/.git" ]; then + set -x cd "${gitdir}" git pull --rebase origin hardenedbsd/main else