From: Silvio Rhatto Date: Thu, 24 Jan 2013 18:33:04 +0000 (-0200) Subject: Quiet submodule init (2) X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=2656922c44319aae67092c3c02560944c1f837b8;p=puppet-puppet.git Quiet submodule init (2) --- diff --git a/files/update-puppet-conf.sh b/files/update-puppet-conf.sh index 72dc00b..ef7bfcd 100644 --- a/files/update-puppet-conf.sh +++ b/files/update-puppet-conf.sh @@ -14,6 +14,7 @@ if [ -d "${PUPPET_DIR}/.git" ] && [ -d "${ORIGIN_DIR}" ]; then cd ${PUPPET_DIR} git pull ${ORIGIN_DIR} master git checkout -f - git submodule update --init -q + # See https://github.com/git/git/commit/c1c259e225cf39c7353c673ad2c7c84450d909c1 + git submodule update --init | grep -v "^Submodule " git clean -d -f fi