Re: CVS import: Changing/cleaning authors and committers
- From
- Robert Haines <rhaines@manchester.ac.uk>
- Date
- Jan 24, 2008, 17:12 UTC
- Message-ID
- <259E26A1-C9A9-4A92-BB54-77B43AC9E590@manchester.ac.uk>
- In-Reply-To
- <20080124163719.GA17283@coredump.intra.peff.net>
On 24 Jan 2008, at 16:37, Jeff King wrote:
Show 18 quoted lines
> On Thu, Jan 24, 2008 at 03:12:08PM +0000, Robert Haines wrote: > >> I was wondering if it would be able to go through and change all >> that to: >> >> author Name <email@address> >> etc >> >> Is this something that can be retrospectively done? Is it >> something that >> can be done during cvsimport? Is it even doable? > > David already answered the second question, and it is probably simpler > to just redo the import with -A unless there is some complication with > that (like you no longer have access to the CVS files). > > However, to answer your first question: it can be fixed after the fact > by rewriting history within the git repository; see git-filter-branch.
So ideally I would have spotted the -A flag originally! I have had something of an information overload with git, gitweb and so on recently.
I decided to re-import with the -A flag as there is (much) less chance of me mucking it up!
Thanks, Rob