Details
-
Type: Improvement
-
Status: Done/Fixed
-
Priority: Major
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.3.3
-
Fix Version/s: 4.4.0
-
Component/s: Technical infrastructure
-
Labels:None
Description
Background: Many users are in the habit of entering a commit message with only the ticket number. When reviewing source code changes (e.g. in Github, gitk, git-log, or Jenkins), this produces unreadable listings. We should continue to encourage people to write good commit messages (because ticket numbers may not fully explain the commit), but we can also mitigate the problem by improving the git-footnote hook.
Goal: Put more information in the subject line of most commits
Task: Update the git-footnote hook ( https://github.com/totten/git-footnote ) to recognize truly short messages ("CRM-XXXX") and to use an abbreviated layout ("CRM-XXXX - Ticket title\nhttp://example.com/ticket/url").