+10
Completed

Commit highlight for short / long description (instead of hard limits)

Igor Santos 8 years ago updated by Thomas Singer 4 years ago 10 1 duplicate

Instead or alternatively to the hard limits which can be configured in the Preferences by Show line length guides, the commit message textareas could do some highlighting on the text, like VIM does, allowing us to format our commits like the Linux standard: titles of 50 char at most, one empty line, description below.


Image 21


Image 22


This is supported by GitHub by giving you a short-desc and long-desc fields, and warning on 50chars+:

Image 23

Duplicates 1
+1
Under review

In the Preferences, section Commands you can enable Use font configured ... and Show line length guides. Isn't this what you are looking for?

Marc, that helps but is not exactly enough.

There's only a hard limit on the first line (that wasn't clear on the screenshots, sorry), and the second line must be left empty.

+1
Under review

Igor, I've updated the topic.

Seems done? Came back to SmartGit after quite some time without it, stumbled upon this ticket, and re-checked... :)


Since 2 years nothing has changed in this area.

Oh well. Having changes in two years or not, this issue is either fixed or was ever invalid. However, I'm not able to close it, so could someone do it? :)

Any objections from other users to close this issue?

I agree this can be closed; if the Use font configured... and Show linelength guides settings are enabled, then the Commit dialog

  • shows a guideline at 50 for the first line and 72 for the message body
  • highlights in red the line(s) that go over this limit

Which IMO fully satisfies the requirement.