Add --allow-empty to the commit of the generated dep file.

This is to solve the problem where a build-bot is kicked off for a
tree that has no changes in it.  This should not happen often.

Review URL: http://codereview.chromium.org/2873010
This commit is contained in:
robotboy 2010-06-21 15:12:07 -07:00
parent 3f41e152bd
commit 507bcbfe06

View File

@ -99,7 +99,7 @@ commit_depfile() {
pushd "${DEPPATH}"
git add "${FLAGS_depfile}"
git commit -m "Automated buildbot update of pinned DEPS file."
git commit -m "Automated buildbot update of pinned DEPS file." --allow-empty
git reset --hard HEAD
git clean -f
git remote update