From 51771dc540eef3be94f5f0a55dc7337f3c597e3f Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Sat, 24 Oct 2009 11:44:00 +0200 Subject: 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. --- tools/git-notify | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/git-notify') 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; -- cgit v1.2.3-74-g34f1