Orderfile: run _GitStash only on bots, simplify --public
When running on buildbot, we always use the internal version. The git stash/unstash/commit/push should be avoided when running locally (options.buildbot=False). In the public repository, the OrderfileUpdater should be able to upload files, it was useful just once. With this, the OrderfileNoopUpdater looks unnecessary, since we replace OrderfileUpdater in the internal repo anyway, so remove it. Otherwise the split of functionality between the public and the internal OrderfileUpdater is accidental. Not revisiting it here. Bug: None Change-Id: Icd0fc9ed69d0def8e1fa9cfd1be05083f7c9cbf1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2403469Reviewed-by:Benoit L <lizeb@chromium.org> Commit-Queue: Egor Pasko <pasko@chromium.org> Cr-Commit-Position: refs/heads/master@{#805911}
Showing
Please register or sign in to comment