GNOME Bugzilla – Bug 666554
Use monospaced font for commit messages.
Last modified: 2013-07-07 09:39:28 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.
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.
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.
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.