Files
oak-gpui/crates
Umesh Yadav 8527dcfc65 git_ui: Better handle commit message amend (#35268)
Follow up to this: #35114

* Previously we were still showing the commit message even after
cancelling amend which was the old commit message.
* This PR fixes that by restoring the commit message to the old state
before the amend begin so that in case user typed a commit message it's
shown if not then it's not.

Before:


https://github.com/user-attachments/assets/e0edcfff-863d-4367-a7c4-8a2998e702ca

After:



https://github.com/user-attachments/assets/9daf9be0-8a3d-4914-91a4-567693711b6b




Release Notes:

- Resolved an issue where cancelling an amend commit would incorrectly
leave the old commit message in the input field. The commit message box
now properly reverts to its pre-amend state.
2025-09-09 10:37:53 -06:00
..
2025-09-03 22:10:14 +00:00
2025-08-13 13:25:52 -06:00
2025-09-08 21:53:17 -06:00
2025-09-08 21:53:17 -06:00
2025-09-08 21:53:17 -06:00
2025-09-08 21:53:17 -06:00
2025-09-03 22:10:14 +00:00
2025-09-06 00:27:14 +02:00
2025-08-19 20:33:44 +00:00
2025-09-08 21:53:17 -06:00
2025-09-08 21:53:17 -06:00
2025-09-08 14:19:41 -04:00
2025-09-08 21:53:17 -06:00
2025-09-08 21:53:17 -06:00