diff options
author | Karl Hasselström <kha@treskal.com> | 2006-02-28 00:08:15 +0100 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-02-27 15:27:21 -0800 |
commit | 80804d0af8f5bfa8ce87b5ef72cd2c5eb64c8f40 (patch) | |
tree | 5ca2f39c4cc5e006e28ea8c409c24467adf3a445 /git-svnimport.perl | |
parent | 36610b24f1a1821eee95243663631c1295c202ed (diff) | |
download | git-80804d0af8f5bfa8ce87b5ef72cd2c5eb64c8f40.tar.gz git-80804d0af8f5bfa8ce87b5ef72cd2c5eb64c8f40.tar.xz |
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>
Diffstat (limited to 'git-svnimport.perl')
-rwxr-xr-x | git-svnimport.perl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git-svnimport.perl b/git-svnimport.perl index 75ce8e068..86837edbd 100755 --- a/git-svnimport.perl +++ b/git-svnimport.perl @@ -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]; } |