summaryrefslogtreecommitdiffstats
path: root/lib/Crawl/Bot/Plugin/Commit.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Crawl/Bot/Plugin/Commit.pm')
-rw-r--r--lib/Crawl/Bot/Plugin/Commit.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Crawl/Bot/Plugin/Commit.pm b/lib/Crawl/Bot/Plugin/Commit.pm
index ccb13ae..c43b661 100644
--- a/lib/Crawl/Bot/Plugin/Commit.pm
+++ b/lib/Crawl/Bot/Plugin/Commit.pm
@@ -299,9 +299,9 @@ sub parse_commit {
my ($hash, $author, $committer, $subject, $body, $date, $stat) = ($1, $2, $3, $4, $5, $6, $7);
my ($nfiles, $nins, $ndel);
- ($stat =~ /(\d+) files changed/) and $nfiles = $1;
- ($stat =~ /(\d+) insertions/) and $nins = $1;
- ($stat =~ /(\d+) deletions/) and $ndel = $1;
+ ($stat =~ /(\d+) files? changed/) and $nfiles = $1;
+ ($stat =~ /(\d+) insertions?/) and $nins = $1;
+ ($stat =~ /(\d+) deletions?/) and $ndel = $1;
return {
hash => $hash,
author => $author,