]> git.ipfire.org Git - thirdparty/git.git/commit - git-cvsimport.perl
cvsimport: ease migration from CVSROOT/users format
authorJunio C Hamano <junkio@cox.net>
Sun, 15 Jan 2006 11:30:30 +0000 (03:30 -0800)
committerJunio C Hamano <junkio@cox.net>
Mon, 16 Jan 2006 05:13:22 +0000 (21:13 -0800)
commit8cd162114990a4b36aeefc672dedc597c2eacbf0
treee0caad70013f460232c5babb70f28dd5f6300988
parentffd97f3a35d8394773409f17d58156b32ca911cf
cvsimport: ease migration from CVSROOT/users format

This fixes a minor bug, which caused the author email to be
doubly enclosed in a <> pair (the code gave enclosing <> to
GIT_AUTHOR_EMAIL and GIT_COMMITTER_EMAIL environment variable).

The read_author_info() subroutine is taught to also understand
the user list in CVSROOT/users format.  This is primarily done
to ease migration for CVS users, who can use the -A option
to read from existing CVSROOT/users file.  write_author_info()
always writes in the git-cvsimport's native format ('='
delimited and value without quotes).

Signed-off-by: Junio C Hamano <junkio@cox.net>
git-cvsimport.perl