Silence git updates

This commit is contained in:
southerntofu 2020-04-17 23:00:12 -04:00
parent 0c6cae2973
commit 1d3aba43b3
1 changed files with 2 additions and 2 deletions

View File

@ -24,11 +24,11 @@ echo "$branch"
fi
cd "$p_dir"
# Refresh remote before comparing with local
git fetch origin
git fetch --quiet origin
git diff --quiet remotes/origin/$p_branch
if [[ $? != 0 ]]; then
echo "[$p_name] PULL"
git pull
git pull --quiet
[[ $? != 0 ]] && echo "[$p_name] PULL FAILED" && exit 1
echo "[$p_name] RUN"
GITBUILDDIR="$BASEDIR" $BASEDIR/$p_name $p_name