Git repository comments should use git convention for commit messages
Git is typically used with the convention that commit messages are written with a short one line subject and then a more descriptive paragraph.
Redmine however display the entire message in the comment field. In the repository overview this is OK, since linefeeds are added after the subject as specified in the commit-message. However, for the activity view, the entire message is displayed as one line (no line feeds where they are supposed to be), this means that many comments are unreadable.
I suggest that for git, firstly in the issue lists, only the first line should be displayed and that in the activity view, the commit message will be displayed with its first line following the revision and the message below should only contain the body of the message.
Updated by Mattias Holm about 13 years ago
Felix Schäfer wrote:
The activity list already only shows the first line of the commit message. What other places would you think need improvement?
In the repository view, the file browser shows parts of the commit message truncated to some length. This comment shows not just the first line, but also the rest of the message (with the line feeds stripped).
Also in the repository view, the latest commit browser, shows the messages, with line feeds, but multiple linefeeds (new paragraphs) are ignored and concatenated to one big paragraph. It also does not clearly label the first line as being the subject.
My preferred solution would be to have the file browser in the repository view to only show the first line and the commit browser respect the linefeeds in the commit message plus labelling the first line (bold font or something like that), as a subject line for the commit.