From a7a5bf00e8b3838c5c673f6b1ba156266c335318 Mon Sep 17 00:00:00 2001 From: Felix Stupp Date: Sun, 5 Jul 2020 20:53:10 +0200 Subject: [PATCH] git_auto_update: update.sh: Set git reset to be quiet --- roles/git_auto_update/templates/update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/git_auto_update/templates/update.sh b/roles/git_auto_update/templates/update.sh index 7291470..587c612 100644 --- a/roles/git_auto_update/templates/update.sh +++ b/roles/git_auto_update/templates/update.sh @@ -22,7 +22,7 @@ git remote set-url origin "$REPO"; git fetch --recurse-submodules --tags > /dev/null; TAG=$(git tag --list | grep "^$PREFIX" | sort -r | head -n 1); if [ -z "$GPG_FINGERPRINT" ] || (git verify-tag --raw "$TAG" 2>&1 | grep --fixed-strings " VALIDSIG $GPG_FINGERPRINT ") > /dev/null; then - git reset --hard --recurse-submodules; + git reset --quiet --hard --recurse-submodules; git checkout --quiet --recurse-submodules "$TAG"; chown --recursive "$DEST_USER:$DEST_GROUP" .; if ! sh -c {{ reload_command | default('true') | quote }}; then