From 04a266ce2ef539369013b5723ddc3912b2e2b03d Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Mon, 15 Feb 2010 03:59:57 -0600 Subject: last capture here shouldn't be greedy --- lib/Crawl/Bot/Plugin/Commit.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Crawl/Bot/Plugin/Commit.pm b/lib/Crawl/Bot/Plugin/Commit.pm index 2536913..e923baa 100644 --- a/lib/Crawl/Bot/Plugin/Commit.pm +++ b/lib/Crawl/Bot/Plugin/Commit.pm @@ -86,7 +86,7 @@ sub parse_commit { my ($rev) = @_; my $dir = pushd($self->checkout); my $info = `git log -1 --pretty=format:%aN%x00%s%x00%b%x00 $rev`; - $info =~ /(.*?)\x00(.*?)\x00(.*?)\x00(.*?)/s; + $info =~ /(.*?)\x00(.*?)\x00(.*?)\x00(.*)/s; my ($author, $subject, $body, $stat) = ($1, $2, $3, $4); $stat =~ s/(\d+) files changed/$1/; return { -- cgit v1.2.3-54-g00ecf