Check out flashbake.  It's a set of Python scripts for automating git and adding various metadata to commit messages, and was written as a personal writing tool for Cory Doctorow.<p><a href="http://wiki.github.com/commandline/flashbake/" rel="nofollow">http://wiki.github.com/commandline/flashbake/</a>