aboutsummaryrefslogtreecommitdiff
path: root/git-svn.perl
diff options
context:
space:
mode:
authorRichard MUSIL <richard.musil@st.com>2007-07-17 19:02:57 +0200
committerJunio C Hamano <gitster@pobox.com>2007-07-18 17:01:10 -0700
commit575d025c0d0fdc9d8b5d68cb802957c527eb0d14 (patch)
tree1443852973ad7a207449f12feca838a72f1676a5 /git-svn.perl
parentb59d398beab604e577846ef8393735478c1ca3c2 (diff)
downloadgit-575d025c0d0fdc9d8b5d68cb802957c527eb0d14.tar.gz
git-575d025c0d0fdc9d8b5d68cb802957c527eb0d14.tar.xz
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>
Diffstat (limited to 'git-svn.perl')
-rwxr-xr-xgit-svn.perl2
1 files changed, 1 insertions, 1 deletions
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;