[Nagiosplug-checkins] SF.net SVN: nagiosplug:[2260] nagiosplug/trunk/tools/git-notify

dermoth at users.sourceforge.net dermoth at users.sourceforge.net
Sat Oct 24 22:59:10 CEST 2009


Revision: 2260
          http://nagiosplug.svn.sourceforge.net/nagiosplug/?rev=2260&view=rev
Author:   dermoth
Date:     2009-10-24 20:59:10 +0000 (Sat, 24 Oct 2009)

Log Message:
-----------
git-notify: Save author without trailing space

Adjust the regular expression which catches the commit author name so
that it doesn't include the space character which follows that name.

From: Holger Weiss <holger at zedat.fu-berlin.de>

Modified Paths:
--------------
    nagiosplug/trunk/tools/git-notify

Modified: nagiosplug/trunk/tools/git-notify
===================================================================
--- nagiosplug/trunk/tools/git-notify	2009-10-24 20:46:11 UTC (rev 2259)
+++ nagiosplug/trunk/tools/git-notify	2009-10-24 20:59:10 UTC (rev 2260)
@@ -216,7 +216,7 @@
             last if /^-----BEGIN PGP SIGNATURE-----/;
             push @log, $_;
         }
-        elsif (/^(author|committer|tagger) ((.*)(<.*>)) (\d+) ([+-]\d+)$/)
+        elsif (/^(author|committer|tagger) ((.*) (<.*>)) (\d+) ([+-]\d+)$/)
         {
             $info{$1} = $2;
             $info{$1 . "_name"} = $3;


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Commits mailing list