From: Richard MUSIL Date: Tue, 17 Jul 2007 17:02:57 +0000 (+0200) Subject: git-svn: Minimalistic patch which allows svn usernames with space(s). X-Git-Tag: v1.5.3-rc3~36 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=575d025c0d0fdc9d8b5d68cb802957c527eb0d14;p=git.git 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 --- 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;