From: Eric Wong <eric@petta-tech.com>
To: Richard MUSIL <richard.musil@st.com>
Cc: git@vger.kernel.org
Subject: Re: [PATCH] git-svn: Minimalistic patch which allows svn usernames with space(s).
Date: Tue, 17 Jul 2007 12:55:59 -0700 [thread overview]
Message-ID: <20070717195559.GA20103@muzzle> (raw)
In-Reply-To: <469CF641.4020707@st.com>
Richard MUSIL <richard.musil@st.com> wrote:
> Changed filter for username in svn-authors file, so even 'user name' is accepted.
> ---
> git-svn.perl | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/git-svn.perl b/git-svn.perl
> index 01c3904..975075e 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*$/;
Surely you mean the following:
+ next unless /^(.+?|\(no author\))\s*=\s*(.+?)\s*<(.+)>\s*$/;
(No "\" before the ".") "\." matches a dot/period (.), while "."
matches anything.
--
Eric Wong
next prev parent reply other threads:[~2007-07-17 20:28 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-17 17:02 [PATCH] git-svn: Minimalistic patch which allows svn usernames with space(s) Richard MUSIL
2007-07-17 19:55 ` Eric Wong [this message]
2007-07-18 7:36 ` Eric Wong
2007-07-18 8:47 ` Richard MUSIL
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070717195559.GA20103@muzzle \
--to=eric@petta-tech.com \
--cc=git@vger.kernel.org \
--cc=richard.musil@st.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.