git-svn: Minimalistic patch which allows svn usernames with space(s).
authorRichard MUSIL <richard.musil@st.com>
Tue, 17 Jul 2007 17:02:57 +0000 (19:02 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 19 Jul 2007 00:01:10 +0000 (17:01 -0700)
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>
git-svn.perl

index 01c39042717c60c9a5b100ac60d2569c991736ea..6c692a79e778a74a484aa4f5364aabaa8619057c 100755 (executable)
@@ -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;