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> 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 -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers