mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-23 14:41:31 +02:00
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:
parent
3f41e152bd
commit
507bcbfe06
@ -99,7 +99,7 @@ commit_depfile() {
|
|||||||
pushd "${DEPPATH}"
|
pushd "${DEPPATH}"
|
||||||
|
|
||||||
git add "${FLAGS_depfile}"
|
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 reset --hard HEAD
|
||||||
git clean -f
|
git clean -f
|
||||||
git remote update
|
git remote update
|
||||||
|
Loading…
x
Reference in New Issue
Block a user