sublimehq / sublime_merge

Issue tracker for Sublime Merge
https://www.sublimemerge.com
271 stars 14 forks source link

Data loss when editing a commit message #1776

Open haferburg opened 1 year ago

haferburg commented 1 year ago

Repro:

My workflow is to commit something with a placeholder message. Then edit both the message and the content as I'm progressing through development.

I've lost data countless times because of this behavior. It's the worst part of Sublime Merge.

It should just preserve the edited commit message. When I'm doing fixup, I don't care about the other messages. At least it should ask if it's ok to delete data.

Alternatively, don't do this Edit/Save thing. It's 2023. Just let me edit the message, commit it to history when I'm done. Or provide an auto-save option.

haferburg commented 8 months ago

It just happened again. It's 18:35. I want to go home. Yet Sublime Merge makes me type a long commit message again.

This time I edited one commit message, then switched to the parent commit, edited the commit message, clicked Save, which results in SM destroying the edited message of the child commit.

Please do something about this.