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 @@ -2570,7 +2570,7 @@ sub parse_commit_text {
2570
2570
} elsif ((!defined $withparents ) && ($line =~ m / ^parent ([0-9a-fA-F]{40})$ / )) {
2571
2571
push @parents , $1 ;
2572
2572
} elsif ($line =~ m / ^author (.*) ([0-9]+) (.*)$ / ) {
2573
- $co {' author' } = $1 ;
2573
+ $co {' author' } = to_utf8( $1 ) ;
2574
2574
$co {' author_epoch' } = $2 ;
2575
2575
$co {' author_tz' } = $3 ;
2576
2576
if ($co {' author' } =~ m / ^([^<]+) <([^>]*)>/ ) {
@@ -2580,10 +2580,9 @@ sub parse_commit_text {
2580
2580
$co {' author_name' } = $co {' author' };
2581
2581
}
2582
2582
} elsif ($line =~ m / ^committer (.*) ([0-9]+) (.*)$ / ) {
2583
- $co {' committer' } = $1 ;
2583
+ $co {' committer' } = to_utf8( $1 ) ;
2584
2584
$co {' committer_epoch' } = $2 ;
2585
2585
$co {' committer_tz' } = $3 ;
2586
- $co {' committer_name' } = $co {' committer' };
2587
2586
if ($co {' committer' } =~ m / ^([^<]+) <([^>]*)>/ ) {
2588
2587
$co {' committer_name' } = $1 ;
2589
2588
$co {' committer_email' } = $2 ;
You can’t perform that action at this time.
0 commit comments