Another thing I was not aware of: SmartGit can present warnings reported from (pre-)commit-hooks in an alerting way.
Just add echo “warning:” as prefix to your message and it will result in a warning signpost and a modal dialog after commit.
I’ve filed a change-request to make this parsing of the messages case-insensitive.
git commit –amend (or: work-around the issue with changing merge-commit-message a posteriori with SmartGit)
SmartGit does not allow to modify auto-generated messages of merge-commits. If you follow a certain policy, then the auto-format does not fit to your style. So it has to be changed:
* go to your current repository
* grab first the last message
System:project marcelpetrick$ git shortlog -1
Marcel Petrick (1):
* fix it, by prepending a certain prefix
System:project marcelpetrick$ git commit --amend -m "Ticket1234: update to the current HEAD@master.\nMerge remote-tracking branch 'origin/master' into Ticket1234"
[Ticket1234 4223666] Ticket1234: update to the current HEAD@master.\nMerge remote-tracking branch 'origin/master' into Ticket1234
Date: Sun Jan 18 14:26:37 2015 +0100