Check files changed by commits in a rebase
OddBloke opened this issue · comments
Daniel Watkins commented
As rebasing can modify files without a pre-commit hook being called, having the same checks run post-rebase could be useful.
The post-rewrite
hook would probably do the trick, by iterating through the new commits to build up a list of files to check.
It would have to be informational only, though I can't really imagine something that stops a rebase being particularly user-friendly anyway...
Daniel Watkins commented
This should possibly only be installed if the user specifically requests it via a flag to the installation command.
Alex Couper commented
Would #28 see to the end of this issue?