[racket-dev] Commit messages in git

From: Eli Barzilay (eli at barzilay.org)
Date: Sat Aug 27 22:04:23 EDT 2011

I see that it's becoming semi common to write commit messages that
look like:

  | some quick description
  |   more blah blah blah, with more
  |   details about the actual change

Note that to do things properly, you should instead have an empty line
between the "subject" part and the rest of the text:

  | some quick description
  | 
  | more blah blah blah, with more
  | details about the actual change

There's no need for the indentation either.  This way many tools that
show git logs with a short description will use

  some quick description

instead of an ugly:

  some quick description   more blah blah blah, with more   details about the actual change


(And BTW, if you commit on the command line with a `-m' flag, then you
can use multiple `-m's.)

-- 
          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                    http://barzilay.org/                   Maze is Life!


Posted on the dev mailing list.