On Mon, Jul 06, 2009 at 09:12:55AM -0400, Bruce Momjian wrote: > Peter Eisentraut wrote: > > On Saturday 04 July 2009 00:54:11 Robert Haas wrote: > > > I think what would be more useful is if we could > > > somehow associated metadata with each commit. Right now, for example, > > > the author of a patch is not stored with the patch in any structured > > > way; it's just typed in, usually but not always as the last line of > > > the commit. So you can't easily find out what lines of code a certain > > > person has touched, for example. The sorts of problems that you're > > > talking about seem broadly in the same vein. > > > > I have been trying to follow a convention on-and-off to put the author of > > the > > patch in the last line of the commit message, like > > > > Author: First Last <n...@example.com> > > Sure, I can use that format if we decide to be consistent. > > > A tool such as git-cvsimport will actually parse that and put it into the > > author field of a git commit. (The tool we use, fromcvs, doesn't do that, > > but > > it could conceivably be patched easily to do it.) > > > > I also found the following resource helpful in crafting commit messages: > > http://www.tpope.net/node/106 > > Interesting idea to have a subject line for the commit message.
It would help me a lot when putting together the patches section in the PostgreSQL Weekly News. Cheers, David. -- David Fetter <da...@fetter.org> http://fetter.org/ Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter Skype: davidfetter XMPP: david.fet...@gmail.com Remember to vote! Consider donating to Postgres: http://www.postgresql.org/about/donate -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers