Project

General

Profile

Actions

Defect #11040

open

Git commit messages have strange formatting:

Added by Øystein Walle over 12 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
SCM
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

Description

In both the overview of a repository and in the details of a specific commit "ascii-style" lists are shown in a strange manner. Note in the attached images that item no. 2 onwards have an extra space of padding on the left. Additionally, the whole list (including the first item) get a monospaced font.

Server: Ubuntu 12.04 server
Git: 1.7.9.5

The output of 'git log' in the actual repo on the server is:

Improved daemon functionality

New features to the daemon:

 - It will check if it is already running via a lockfile
 - It handles SIGTERM: writes to the log and deletes the lockfile
 - blah blah blah
 - The usage() text reflects the changes

with one space before and after the dashes. The missing linebreak (subjective) is covered in Issue #10968. Also related is Issue #10886.

It seems the space before the first item in the list starts "monospace mode" and is therefore stripped.


Files

view-revision.png (5.55 KB) view-revision.png How the commit messages looks on the page of that specific commit Øystein Walle, 2012-05-29 11:12
overview.png (7.97 KB) overview.png How the commit messages looks in the repository overview Øystein Walle, 2012-05-29 11:12

Related issues

Has duplicate Redmine - Feature #15160: commit logClosed

Actions
Has duplicate Redmine - Defect #15204: Git commit message not formatted at all in <project>/repository/revisions/<SHA> viewClosed

Actions
Actions #1

Updated by Toshi MARUYAMA about 11 years ago

Actions #2

Updated by Toshi MARUYAMA about 11 years ago

  • Has duplicate Defect #15204: Git commit message not formatted at all in <project>/repository/revisions/<SHA> view added
Actions

Also available in: Atom PDF