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>
This commit is contained in:
parent
b59d398bea
commit
575d025c0d
@ -740,7 +740,7 @@ sub load_authors {
|
|||||||
my $log = $cmd eq 'log';
|
my $log = $cmd eq 'log';
|
||||||
while (<$authors>) {
|
while (<$authors>) {
|
||||||
chomp;
|
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);
|
my ($user, $name, $email) = ($1, $2, $3);
|
||||||
if ($log) {
|
if ($log) {
|
||||||
$Git::SVN::Log::rusers{"$name <$email>"} = $user;
|
$Git::SVN::Log::rusers{"$name <$email>"} = $user;
|
||||||
|
Loading…
Reference in New Issue
Block a user