From: Eric Wong <eric@petta-tech.com>
To: Junio C Hamano <gitster@pobox.com>
Cc: Richard MUSIL <richard.musil@st.com>, git@vger.kernel.org
Subject: Re: [PATCH] git-svn: Minimalistic patch which allows svn usernames with space(s).
Date: Wed, 18 Jul 2007 00:36:29 -0700 [thread overview]
Message-ID: <20070718073629.GB30559@muzzle> (raw)
In-Reply-To: <20070717195559.GA20103@muzzle>
Eric Wong <eric@petta-tech.com> wrote:
> 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.
Fwiw, with the regexp corrected:
Acked-by: Eric Wong <normalperson@yhbt.net>
--
Eric Wong
next prev parent reply other threads:[~2007-07-18 7:36 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
2007-07-18 7:36 ` Eric Wong [this message]
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=20070718073629.GB30559@muzzle \
--to=eric@petta-tech.com \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).