Re: [PATCH 7/7] cvsserver: Use the user part of the email in log and annotate results

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Rafael Garcia-Suarez
Date: Tuesday, March 25, 2008 - 2:39 am

On 25/03/2008, Frank Lichtenheld <frank@lichtenheld.de> wrote:

While we're at nitpicking:
Faster, shorter, and probably more robust if no @ appears in the email address:

my $author_line = shift;
(my $author) = $author_line =~ /<([^>@]{1,8})/;
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0/7] Enhance TkCVS interoperability, Damien Diederen, (Mon Mar 24, 3:48 pm)
[PATCH 1/7] cvsserver: Respond to the 'editors' command, Damien Diederen, (Mon Mar 24, 3:48 pm)
[PATCH 4/7] cvsserver: Add a few tests for 'status' command, Damien Diederen, (Mon Mar 24, 3:50 pm)
[PATCH 6/7] cvsserver: Added test for update -p, Damien Diederen, (Mon Mar 24, 3:50 pm)
Re: [PATCH 1/7] cvsserver: Respond to the 'editors' command, Frank Lichtenheld, (Tue Mar 25, 2:03 am)
Re: [PATCH 7/7] cvsserver: Use the user part of the email ..., Frank Lichtenheld, (Tue Mar 25, 2:26 am)
Re: [PATCH 7/7] cvsserver: Use the user part of the email ..., Rafael Garcia-Suarez, (Tue Mar 25, 2:39 am)
[PATCH v2 0/7] Enhance TkCVS interoperability, Damien Diederen, (Thu Mar 27, 3:17 pm)
[PATCH v2 6/7] cvsserver: Add test for update -p, Damien Diederen, (Thu Mar 27, 3:18 pm)