From: Holger Weiss Date: Sat, 24 Oct 2009 09:44:00 +0000 (+0200) Subject: git-notify: Save author without trailing space X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=51771dc540eef3be94f5f0a55dc7337f3c597e3f;p=nagiosplug.git 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. --- diff --git a/tools/git-notify b/tools/git-notify index d79cfcc..ce01389 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;