Thread (9 messages) flat view 9 messages, 3 authors, 2021-08-05

Re: git revert --continue --no-verify

From: Cameron Steffen <hidden>
Date: 2021-08-03 21:33:24

Perhaps the issue then is that the pre-commit hook should not run for
`git revert --continue`? It does not run for `git revert`.

On Tue, Aug 3, 2021 at 4:00 PM Taylor Blau [off-list ref] wrote:
On Tue, Aug 03, 2021 at 03:56:49PM -0500, Cameron Steffen wrote:
quoted
`--no-verify` is an argument typically used with `git commit` in order
to skip the pre-commit hook. Since the pre-commit hook also runs on
`git revert --continue`, I expected to be able to use `--no-verify`.
No, `git revert` doesn't pass unknown options down to `git commit`.

Thanks,
Taylor
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help