On Fri, Jan 01, 2010 at 09:12:49PM -0800, Trans wrote:
> 
> 
> On Jan 1, 7:43 pm, Jeffrey <jefr...@gmail.com> wrote:
> > This sounds like precisely the purpose of standard formats for log
> > messages.  The simplest thing would be to prefix the subject with
> > "[type]:" like this:
> >
> > major: add big feature
> >
> > ....
> >
> > or put it on the first line of the body, if you have something else
> > you like to do with the subject, whatever.  As long as your format is
> > standard, you can easily search for that particular key.
> >
> > Jeffrey
> 
> Yes. That is what I currently do. It works okay, but I would prefer
> something more formal/strict if possible. It's very easy to fail to
> conform to a log message convention.

You can improve that by a commit template and a hook to check the commit
conforms.

-- 
                                Petr "Pasky" Baudis
A lot of people have my books on their bookshelves.
That's the problem, they need to read them. -- Don Knuth

--

You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To post to this group, send email to git-us...@googlegroups.com.
To unsubscribe from this group, send email to 
git-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en.


Reply via email to