summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard MUSIL <richard.musil@st.com>2007-07-17 17:02:57 (GMT)
committerJunio C Hamano <gitster@pobox.com>2007-07-19 00:01:10 (GMT)
commit575d025c0d0fdc9d8b5d68cb802957c527eb0d14 (patch)
tree1443852973ad7a207449f12feca838a72f1676a5
parentb59d398beab604e577846ef8393735478c1ca3c2 (diff)
downloadgit-575d025c0d0fdc9d8b5d68cb802957c527eb0d14.zip
git-575d025c0d0fdc9d8b5d68cb802957c527eb0d14.tar.gz
git-575d025c0d0fdc9d8b5d68cb802957c527eb0d14.tar.bz2
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>
-rwxr-xr-xgit-svn.perl2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-svn.perl b/git-svn.perl
index 01c3904..6c692a7 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;