Bug 666554 - Use monospaced font for commit messages.
Use monospaced font for commit messages.
Status: RESOLVED FIXED
Product: gitg
Classification: Applications
Component: gitg-0.x
git master
Other Linux
: Normal normal
: ---
Assigned To: gitg-maint
gitg-maint
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2011-12-19 18:59 UTC by Guy Rutenberg
Modified: 2013-07-07 09:39 UTC (History)
4 users (show)

See Also:
GNOME target: ---
GNOME version: ---


Attachments

Description Guy Rutenberg 2011-12-19 18:59:50 UTC
Currently there is an option to display the right margin in the commit message. While the idea behind it is useful as it helps adhering git conventions, practically it's of no use, if one uses variable width font.

I suggest using monospaced font for the commit message, which I think is common for both entering commit messages and displaying them (see GitX and GitHub). 

I this change is deemed desired, I'll gladly implement it.
Comment 1 jessevdk@gmail.com 2012-01-10 15:35:53 UTC
Yes this would be a nice patch. If you are interested to provide a patch, please make sure to use the system wide monospace font which you can query from gsettings.
Comment 2 Sindhu S 2013-06-13 16:07:53 UTC
This bug report was filed against an older version of Gitg. Moving bug to gitg-0.x.

Currently, the git master version of gitg uses system wide set monospace font in displaying the diffs (commit message). Please consider using and testing the latest gitg version available on git.gnome.org/gitg.

Closing bug as RESOLVED and OBSOLETE.
Comment 3 jessevdk@gmail.com 2013-07-07 09:39:28 UTC
This bug was for writing the commit message, not for displaying it in the history. In any case, for reference, I've just finished implementing commit in the new gitg and it has the monospace font from the system.

Note You need to log in before you can comment on or make changes to this bug.