Re: [PATCH] cvsserver: change generation of CVS author names
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jan 6, 2009, 08:18 UTC
- Message-ID
- <7vbpuklueq.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <20090104111245.GA7732@lars.home.noschinski.de>
Lars Noschinski <lars@public.noschinski.de> writes:
> Obviously the reported user names change. To the best of my knowledge > (but I'm just a barely experienced CVS user) those names are not stored > anywhere on the client and are regenerated by git-cvsserver for every > request, so even old repositories get the new names for all commits.
Thanks for a clarification. I'll amend the commit log message and queue the result for 'next'.
commit d500a1ee8fe4424beb7a98e4fa6159677e7569d0 Author: Fabian Emmes <fabian.emmes@rwth-aachen.de> Date: Fri Jan 2 16:40:14 2009 +0100
cvsserver: change generation of CVS author names
CVS username is generated from local part email address.
We take the whole local part but restrict the character set to the
Portable Filename Character Set, which is used for Unix login names
according to Single Unix Specification v3.
This will obviously report different usernames from existing repositories
for commits with the local part of the author e-mail address that contains
characters outside the PFCS. Hopefully this won't break an old CVS
checkout from an earlier version of git-cvsserver, because the names are
always shown afresh to the CVS clients and not kept on the client side.
Signed-off-by: Fabian Emmes <fabian.emmes@rwth-aachen.de>
Signed-off-by: Lars Noschinski <lars@public.noschinski.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>