Patchwork [2/6] buildhistory: be quiet when garbage collecting the git repo

login
register
mail settings
Submitter Ross Burton
Date Dec. 18, 2013, 4:20 p.m.
Message ID <1387383607-4005-2-git-send-email-ross.burton@intel.com>
Download mbox | patch
Permalink /patch/63529/
State Accepted
Commit 7e17255fa8008c955774269770abd3da31c97fea
Headers show

Comments

Ross Burton - Dec. 18, 2013, 4:20 p.m.
Signed-off-by: Ross Burton <ross.burton@intel.com>
---
 meta/classes/buildhistory.bbclass |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/meta/classes/buildhistory.bbclass b/meta/classes/buildhistory.bbclass
index 3590da0..e9a9c3b 100644
--- a/meta/classes/buildhistory.bbclass
+++ b/meta/classes/buildhistory.bbclass
@@ -534,7 +534,7 @@  END
 			for entry in `echo "$repostatus" | awk '{print $2}' | awk -F/ '{print $1}' | sort | uniq` ; do
 				git commit $entry metadata-revs -m "$entry: Build ${BUILDNAME} of ${DISTRO} ${DISTRO_VERSION} for machine ${MACHINE} on $HOSTNAME" -m "cmd: $CMDLINE" --author "${BUILDHISTORY_COMMIT_AUTHOR}" > /dev/null
 			done
-			git gc --auto
+			git gc --auto --quiet
 			if [ "${BUILDHISTORY_PUSH_REPO}" != "" ] ; then
 				git push -q ${BUILDHISTORY_PUSH_REPO}
 			fi