Use change list name as commit message
Answered
In PyCharm I review my changes and organize them in changelists.
Then I select one changelist at a time, press ctrl+K and commit them.
If the changelist has no comment, the commit dialog uses the changelist name as the commit comment. That's a beautiful magic: I create and name the changelists thinking of the commit they will be used for, so I don't need to think or type again later when I commit.
Today I started to work with Rider, but there is no magic: I need to type the commit message again.
Is there a setting to get Rider to use the changelist name as the commit message?
Please sign in to leave a comment.
Hi Stefano Menci!
What Rider version do you use?
Could you please try the latest EAP? It seems like this feature should be already added there.
I'm happy to see that my request has already been addressed.
I'm new to Rider and I can wait for the new feature to be deployed on the next official release.
Thank you
Stefano Menci
Not too long to wait, actually. Stay tuned! :)
Hi Alexandra,
I stayed tuned, but the behavior has not changed.
I have used a few EAP versions, now I have the official 2021.2, but I always had to manually type the commit name and description. The changelist name and comment are still ignored.
Should I report it as a bug?
Stefano Menci could you please check whether you have "Clear initial commit message" enabled under Preferences | Version Control | Commit?
If so, please disable it and try again.
"Clear initial commit message" was enabled.
I tried disabling it and now the changelist comment is used as commit message. If the comment is missing, then the changelist name.
This is the same behavior as in PyCharm, and it's what I was expecting.
I didn't know this setting existed, thanks for mentioning it.
The documentation says "Select this option if you do not want automatically fill the commit message fields with the previous commit message."
Perhaps it should say something like: "I didn't know this setting existed. The documentation says "Select this option if you do not want automatically fill the commit message fields with the previous commit message and use the changelist comment or name when committing from changelists."