commit --amend: invoke post-rewrite hook