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
This commit is contained in:
Andreas Jaeger 2014-08-18 15:15:56 +02:00
parent 78075503df
commit 8ed66d957b

View File

@ -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