File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -2573,7 +2573,7 @@ sub parse_commit_text {
2573
2573
} elsif ((!defined $withparents ) && ($line =~ m / ^parent ([0-9a-fA-F]{40})$ / )) {
2574
2574
push @parents , $1 ;
2575
2575
} elsif ($line =~ m / ^author (.*) ([0-9]+) (.*)$ / ) {
2576
- $co {' author' } = $1 ;
2576
+ $co {' author' } = to_utf8( $1 ) ;
2577
2577
$co {' author_epoch' } = $2 ;
2578
2578
$co {' author_tz' } = $3 ;
2579
2579
if ($co {' author' } =~ m / ^([^<]+) <([^>]*)>/ ) {
@@ -2583,10 +2583,9 @@ sub parse_commit_text {
2583
2583
$co {' author_name' } = $co {' author' };
2584
2584
}
2585
2585
} elsif ($line =~ m / ^committer (.*) ([0-9]+) (.*)$ / ) {
2586
- $co {' committer' } = $1 ;
2586
+ $co {' committer' } = to_utf8( $1 ) ;
2587
2587
$co {' committer_epoch' } = $2 ;
2588
2588
$co {' committer_tz' } = $3 ;
2589
- $co {' committer_name' } = $co {' committer' };
2590
2589
if ($co {' committer' } =~ m / ^([^<]+) <([^>]*)>/ ) {
2591
2590
$co {' committer_name' } = $1 ;
2592
2591
$co {' committer_email' } = $2 ;
You can’t perform that action at this time.
0 commit comments