On Wed, Mar 17, 2010 at 4:12 AM, Pieter de Bie 
<<mailto:[email protected]>[email protected]> wrote:

 > The problem is that some people put code in the message so it needs to keep 
it's formatting.

Exactly. The fixed width, no wrapping text is on purpose. People
should wrap lines themselves, other stuff like long code lines get
wrapped in a weird way. The fixe width font is used so that ASCII art
graphs still work.


Okay, I'm inclined to pretty strongly disagree with this. I would argue that a commit message, by definition, should contain a message. Not code, not ASCII art, but a descriptive message explaining the commit. If something requires documentation, commit messages aren't really the appropriate place for it. In other words, graphs belong in the documentation where people can find them and code belongs in code files.

I often put small bits of code in commit messages.

I expect a fixed-width font and to wrap lines myself.

Reply via email to