From 8ed66d957b2276df4beb8b6a151065d59e7f8244 Mon Sep 17 00:00:00 2001
From: Andreas Jaeger <aj@suse.de>
Date: Mon, 18 Aug 2014 15:15:56 +0200
Subject: [PATCH] propose_update.sh: Don't output complete git diff

When this script is invoked from the propose-openstack-manuals-updates
job, it can easily generate several 10k lines of diff.

The git diff command outputs all of them.

Use "git diff --stat" instead for a very brief output.

Change-Id: I065fefbf68b009931899065ab65b2f8167f9e171
---
 modules/openstack_project/files/slave_scripts/propose_update.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/openstack_project/files/slave_scripts/propose_update.sh b/modules/openstack_project/files/slave_scripts/propose_update.sh
index da7ead50ed..aa5c938c48 100755
--- a/modules/openstack_project/files/slave_scripts/propose_update.sh
+++ b/modules/openstack_project/files/slave_scripts/propose_update.sh
@@ -97,7 +97,7 @@ EOF
         fi
 
         pushd $PROJECT_DIR
-        if ! git diff --exit-code HEAD ; then
+        if ! git diff --stat --exit-code HEAD ; then
             # Commit and review
             git_args="-a -F-"
             git commit $git_args <<EOF