From 2656922c44319aae67092c3c02560944c1f837b8 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 24 Jan 2013 16:33:04 -0200 Subject: Quiet submodule init (2) --- files/update-puppet-conf.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3