diff options
Diffstat (limited to 'lib/Crawl')
-rw-r--r-- | lib/Crawl/Bot/Plugin/Commit.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Crawl/Bot/Plugin/Commit.pm b/lib/Crawl/Bot/Plugin/Commit.pm index e0d158a..8867aac 100644 --- a/lib/Crawl/Bot/Plugin/Commit.pm +++ b/lib/Crawl/Bot/Plugin/Commit.pm @@ -125,7 +125,7 @@ sub parse_commit { my ($rev) = @_; my $dir = pushd($self->checkout); - CORE::open(F, "-|", qw(git log -1 --shortstat --pretty=format:%H%x00%aN%x00%s%x00%b%x00%ar%x00), $rev) or return undef; + CORE::open(F, "-|:encoding(UTF-8)", qw(git log -1 --shortstat --pretty=format:%H%x00%aN%x00%s%x00%b%x00%ar%x00), $rev) or return undef; local $/ = undef; my $info = <F>; CORE::close(F) or return undef; |