git: Amend (#28187)

Adds git amend support.

- [x] Turn existing commit button into split button
- [x] Clean up + Handle shortcuts/focus cases
- [x] Test remote

Release Notes:

- Added git amend support.

---------

Co-authored-by: Cole Miller <cole@zed.dev>
This commit is contained in:
Smit Barmase 2025-04-14 21:07:19 +05:30 committed by GitHub
parent ac8a4ba5d4
commit 78ecc3cef0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 595 additions and 84 deletions

View file

@ -292,6 +292,11 @@ message Commit {
optional string name = 4;
optional string email = 5;
string message = 6;
optional CommitOptions options = 7;
message CommitOptions {
bool amend = 1;
}
}
message OpenCommitMessageBuffer {