diff options
author | Mike Frysinger <vapier@google.com> | 2020-02-11 05:17:16 -0500 |
---|---|---|
committer | David Pursehouse <dpursehouse@collab.net> | 2020-02-12 04:18:49 +0000 |
commit | 21c1575ee429ff6be737e03e6517f03b8428d92e (patch) | |
tree | 45980b39d7e653b4ca5456c72df1d63573e2ce7c /manifest_xml.py | |
parent | 8f9e02231a175b1d1e77476df98c3a1625b46d9f (diff) | |
download | git-repo-21c1575ee429ff6be737e03e6517f03b8428d92e.tar.gz |
upload: add a --ignore-hooks option
When upload hooks fail, people are forced to use --no-verify to upload
CLs anyways. When projects have flaky hooks, this trains people to
always use that option. This is obviously bad: hooks might get fixed,
or some of the hooks are always good & people should review.
Lets add an --ignore-hooks option. This still runs the hooks, but any
failures will be ignored and allow the user to upload anyways.
Bug: https://crbug.com/gerrit/12230
Change-Id: Ide2ac8a40a656bfcd6aae20c3ce8118e06bf909b
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/254452
Tested-by: Mike Frysinger <vapier@google.com>
Reviewed-by: David Pursehouse <dpursehouse@collab.net>
Diffstat (limited to 'manifest_xml.py')
0 files changed, 0 insertions, 0 deletions