Trac: typesetting git commit messages

18 views
Skip to first unread message

Jeroen Demeyer

unread,
Dec 17, 2013, 8:50:47 AM12/17/13
to sage...@googlegroups.com
I have a small feature request for Trac.

In the auto-generated comments about new git commits, the commit message
should be typeset as pre-formatted text. For example, I have a commit
message containing "__call__(**kwds)" but those special symbols are
interpreted as underline and bold. In Trac markup, this formatting can
be achieved using {{{commit message}}}.

Jeroen.

Volker Braun

unread,
Dec 17, 2013, 9:05:54 AM12/17/13
to sage...@googlegroups.com
Sounds reasonable to me, even though you should probably avoid code in the commit message. Just say "add optional keywords to constructor" or some such. Code goes into the commit ;-)

Andrew, do you want to add this to the git commit hook?

Jeroen Demeyer

unread,
Dec 17, 2013, 9:24:43 AM12/17/13
to sage...@googlegroups.com
On 2013-12-17 15:05, Volker Braun wrote:
> Sounds reasonable to me, even though you should probably avoid code in
> the commit message. Just say "add optional keywords to constructor" or
> some such. Code goes into the commit ;-)

I know you are partially kidding, but at least we should be able to
mention method names in commit messages and __call__ is a method name.
Reply all
Reply to author
Forward
0 new messages