Merge "Don't use git diff --quiet to detect local change"
This commit is contained in:
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user