Let git-svnimport's author file use same syntax as git-cvsimport's
git-cvsimport uses a username => Full Name <email@addr.es> mapping file with this syntax: kha=Karl Hasselström <kha@treskal.com> Since there is no reason to use another format for git-svnimport, use the same format. Signed-off-by: Karl Hasselström <kha@treskal.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:

committed by
Junio C Hamano

parent
36610b24f1
commit
80804d0af8
@ -74,7 +74,7 @@ if ($opt_A) {
|
||||
open(my $authors,$opt_A);
|
||||
while(<$authors>) {
|
||||
chomp;
|
||||
next unless /^(\S+)\s+(.+?)\s+<(\S+)>$/;
|
||||
next unless /^(\S+?)\s*=\s*(.+?)\s*<(.+)>\s*$/;
|
||||
(my $user,my $name,my $email) = ($1,$2,$3);
|
||||
$users{$user} = [$name,$email];
|
||||
}
|
||||
|
Reference in New Issue
Block a user