You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I need to commit changes in file1
I stage file1 and write the commit message
Commit -> error, pre-commit hook failed due to a problem in file 2.
I unstage file1 and fix file2, then commit, I still see message from file1 commit. I remove that message an write message for file2 commit.
Stage again file1 and commit, have to write message all over again because it was not saved
Describe the solution you'd like
I would like a S binding that saves a draft of the message under a given name, so that it can be reused when I come back from file2 to continue with file1.
Describe alternatives you've considered
Deleting the file1 commit message, writing the file2 message and then writing the same file1 commit message again.
Additional context
Add any other context or screenshots about the feature request here.
I would like a S binding that saves a draft of the message under a given name, so that it can be reused when I come back from file2 to continue with file1.
This strikes me as an uncommon enough scenario that building a mechanism like this seems like overkill to me. Happy to hear other people's opinions though.
There are several workarounds; one of them is to stage both file1 and file2, commit with the auto-saved message, and then run a custom patch to move the file2 change to its own commit before. That's probably what I would have done.
Activity
stefanhaller commentedon Nov 9, 2026
This strikes me as an uncommon enough scenario that building a mechanism like this seems like overkill to me. Happy to hear other people's opinions though.
There are several workarounds; one of them is to stage both file1 and file2, commit with the auto-saved message, and then run a custom patch to move the file2 change to its own commit before. That's probably what I would have done.