@matheusbsbs / matheus-bagliano / commits / 575d025c0d
Fork 0

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 <normalperson@yhbt.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Richard MUSIL committed Jul 17, 2007 at 19:02 UTC 575d025c0d0fdc9d8b5d68cb802957c527eb0d14
1 file changed +1 -1
git-svn.perl
+1 -1
@@ -740,7 +740,7 @@ sub load_authors {
740 my $log = $cmd eq 'log';
741 while (<$authors>) {
742 chomp;
743 - next unless /^(\S+?|\(no author\))\s*=\s*(.+?)\s*<(.+)>\s*$/;
743 + next unless /^(.+?|\(no author\))\s*=\s*(.+?)\s*<(.+)>\s*$/;
744 my ($user, $name, $email) = ($1, $2, $3);
745 if ($log) {
746 $Git::SVN::Log::rusers{"$name <$email>"} = $user;