mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-05-28 04:35:40 -04:00
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.
This commit is contained in:
parent
7f1844835d
commit
51771dc540
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue