Merge "Don't use git diff --quiet to detect local change"

This commit is contained in:
Jenkins 2015-02-23 13:27:18 +00:00 committed by Gerrit Code Review
commit c01252639a

@ -84,7 +84,7 @@ for PROJECT in $PROJECTS ; do
sudo chown -R $USER $REPODIR/$SHORT_PROJECT
(cd $REPODIR/requirements && python update.py $REPODIR/$SHORT_PROJECT)
pushd $REPODIR/$SHORT_PROJECT
if ! git diff --quiet ; then
if ! git diff --exit-code > /dev/null; then
git commit -a -m'Update requirements'
fi
popd