Sometimes it is necessary to correct the commit message of an earlier commit, and Git provides git commit --fixup=reword:<commit> for exactly this purpose. Unfortunately, since 96fe807, the resulting empty amend! commit is filtered out , making it impossible to adjust commit messages without modifying files at the same time.
Would it be possible to preserve the intent of 96fe807 while still supporting empty amend! commits by passing --prune-empty to git filter-branch in umpf instead?
Sometimes it is necessary to correct the commit message of an earlier commit, and Git provides
git commit --fixup=reword:<commit>for exactly this purpose. Unfortunately, since 96fe807, the resulting empty amend! commit is filtered out , making it impossible to adjust commit messages without modifying files at the same time.Would it be possible to preserve the intent of 96fe807 while still supporting empty
amend!commits by passing--prune-emptytogit filter-branchin umpf instead?