]> git.lizzy.rs Git - rust.git/commit
Don't --bless in pre-push hook
authorTyler Mandry <tmandry@google.com>
Mon, 29 Aug 2022 23:43:47 +0000 (16:43 -0700)
committerTyler Mandry <tmandry@google.com>
Mon, 29 Aug 2022 23:46:51 +0000 (16:46 -0700)
commit8873e33806487a0fb12143772b1a3c1544edbe0b
tree6a62db0d3b178207be63fc58aebcc060f334ad4a
parent03d488b48af9f66b91e9400387f781b82411fa82
Don't --bless in pre-push hook

Running with --bless causes the push to succeed if there are fixable
formatting changes, but the changes don't make it into the push.

We should have the user rerun with --bless (or x.py fmt) and commit the
changes themselves (they might want to amend a particular commit, for
instance).
src/etc/pre-push.sh