Re: CVS import: Changing/cleaning authors and committers
Robert Haines <rhaines@manchester.ac.uk> writes:
Show 21 quoted lines
> Hi all,
>
> I am very new to git, but already impressed! I am in the process of
> converting my old CVS repos into git. So far so good, it all works
> with 'git cvsimport' but I was wondering about the author and
> committer names. All mine have come out as the username of the person
> who committed the change into CVS:
>
> author xxcguxx <xxcguxx>
> committer xxcguxx <xxcguxx>
>
> 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?
>
> Any suggestions gratefully received!
If everything else fails, read the documentation.
man git-cvsimport
[...]
-A <author-conv-file>
CVS by default uses the Unix username when writing its
commit logs. Using this option and an author-conv-file
in this format
[...]
--
David Kastrup