From 575d025c0d0fdc9d8b5d68cb802957c527eb0d14 Mon Sep 17 00:00:00 2001 From: Richard MUSIL Date: Tue, 17 Jul 2007 19:02:57 +0200 Subject: [PATCH] git-svn: Minimalistic patch which allows svn usernames with space(s). Changed filter for username in svn-authors file, so even 'user name' is accepted. Acked-by: Eric Wong Signed-off-by: Junio C Hamano --- git-svn.perl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git-svn.perl b/git-svn.perl index 01c390427..6c692a79e 100755 --- a/git-svn.perl +++ b/git-svn.perl @@ -740,7 +740,7 @@ sub load_authors { my $log = $cmd eq 'log'; while (<$authors>) { chomp; - next unless /^(\S+?|\(no author\))\s*=\s*(.+?)\s*<(.+)>\s*$/; + next unless /^(.+?|\(no author\))\s*=\s*(.+?)\s*<(.+)>\s*$/; my ($user, $name, $email) = ($1, $2, $3); if ($log) { $Git::SVN::Log::rusers{"$name <$email>"} = $user; -- 2.30.2