On Tue, 21 May 2019, Segher Boessenkool wrote:

> > I think having author names and email addresses is a basic requirement of 
> > any reasonable repository conversion
> 
> Yes, and they should be the same as they were in the original repository.

That's what the "changelogs" feature in reposurgeon does, when the commit 
that made the change also added a ChangeLog entry.

In the case where the commit didn't add a ChangeLog entry, a name and 
email address from an author map is the best we can practically do (and I 
think it's much better than having something that never was a valid name 
and email address for author or committer at all).  In particular, that 
applies to changes from the gcc2 tree (where ChangeLog wasn't version 
controlled at all until 1998, and after that didn't generally have log 
messages that could be matched up with those of the corresponding commits 
to other files).  Many of the names and addresses in the author map for 
the gcc2 repository *are* taken directly from the ChangeLogs (for some 
commit for each committer) as that was the most practical way of 
identifying who all the committers from that period were.

-- 
Joseph S. Myers
jos...@codesourcery.com

Reply via email to