From 507bcbfe06a4ab4110a18ba16e518d36f65621e3 Mon Sep 17 00:00:00 2001 From: robotboy Date: Mon, 21 Jun 2010 15:12:07 -0700 Subject: [PATCH] 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 --- save_pinned_deps | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/save_pinned_deps b/save_pinned_deps index ab2061359c..04069debe2 100755 --- a/save_pinned_deps +++ b/save_pinned_deps @@ -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