Allow for commit amends with no file changes (#37256)

This will users to change the wording of the most recent commit,
something they might want to do if they realize they made a small typo
of some kind or if the formatting of their commit message is wrong, but
don't have any other changes they need to make.

Release Notes:

- Commit messages can now be amended in the UI without any other changes
needing to be made.

---------

Co-authored-by: Cole Miller <cole@zed.dev>
aee21ca17fRyan Hawkins committed on 9/11/2025, 12:20:32 AM· committed by GitHubparent816c481
1 file changedLine totals unavailable