Re: Fixing author/email fields in commit messages
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Feb 19, 2006, 19:27 UTC
- Message-ID
- <Pine.LNX.4.63.0602192025170.11855@wbgn013.biozentrum.uni-wuerzburg.de>
- In-Reply-To
- <43F8BCB1.2010701@gmail.com>
Hi,
On Sun, 19 Feb 2006, Jacob Kroon wrote:
Show 10 quoted lines
> When I started my git repository for my project, I never setup > GIT_AUTHOR_NAME etc. correctly, so my commit messages used the default > information, "<jacob@skeletor.(none)>", "skeletor" being the hostname of > the computer I'm working on. I'd like to change it so that the messages > will contain correct information about my e-mail and username. I noticed > that this question has been brought up here before and that the solution > might be to use git-convert-objects, but that it might need some > modifications. > > Has anyone come up with a working tool for this task ?
Unfortunately not.
However, I'd rather start by enhancing git-rebase. You do not really need to rewrite *all* objects, but only the *commit objects*. Two things seem to be lacking for what you want:
- an option to rebase "onto an empty commit", and - an optional filter command to run on the commit messages.
Hth, Dscho