diff options
author | Holger Weiss <holger@zedat.fu-berlin.de> | 2009-10-24 11:44:00 +0200 |
---|---|---|
committer | Holger Weiss <holger@zedat.fu-berlin.de> | 2009-10-24 11:44:00 +0200 |
commit | 51771dc540eef3be94f5f0a55dc7337f3c597e3f (patch) | |
tree | d360ca2773ebf0c2d830c09cc3272be5f14398bc /tools | |
parent | 7f1844835dac4df2e8fe98d72d6fe77d5117eb2e (diff) | |
download | monitoring-plugins-51771dc540eef3be94f5f0a55dc7337f3c597e3f.tar.gz |
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.
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/git-notify | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/git-notify b/tools/git-notify index d79cfccd..ce013891 100755 --- a/tools/git-notify +++ b/tools/git-notify @@ -216,7 +216,7 @@ sub get_object_info($) 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; |