Re-run tests in post-commit hook If amending a commit, the pre-commit hook will only see the new changes being amended to the commit, not the changes which were originally in the commit. Therefore, amending an old broken commit might not show all problems unless the result is also double checked.