git-revise
git-revise copied to clipboard
post-rewrite hook is not called
This is mentioned in https://github.com/mystor/git-revise/issues/35#issuecomment-523237380, but I thought I would raise a specific issue for this.
This causes git-revise
to not interoperate well with git-branchless
, because the latter expects post-rewrite
to be called after rewrite operations to update its internal view of the commit graph. The result is that the pre-rewrite and post-rewrite commits both appear in git smartlog
and related tooling. I mentioned this issue here: https://blog.waleedkhan.name/in-memory-rebases/#interactive-rebase
Likewise, the reference-transaction
hook is not called, although I'm not quite sure if git-revise
moves branches. There is a good discussion of the circumstances under which various hooks should be called here: https://github.com/gitext-rs/git-stack/issues/192