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 {
25732573 } elsif ((!defined $withparents ) && ($line =~ m / ^parent ([0-9a-fA-F]{40})$ / )) {
25742574 push @parents , $1 ;
25752575 } elsif ($line =~ m / ^author (.*) ([0-9]+) (.*)$ / ) {
2576- $co {' author' } = $1 ;
2576+ $co {' author' } = to_utf8( $1 ) ;
25772577 $co {' author_epoch' } = $2 ;
25782578 $co {' author_tz' } = $3 ;
25792579 if ($co {' author' } =~ m / ^([^<]+) <([^>]*)>/ ) {
@@ -2583,10 +2583,9 @@ sub parse_commit_text {
25832583 $co {' author_name' } = $co {' author' };
25842584 }
25852585 } elsif ($line =~ m / ^committer (.*) ([0-9]+) (.*)$ / ) {
2586- $co {' committer' } = $1 ;
2586+ $co {' committer' } = to_utf8( $1 ) ;
25872587 $co {' committer_epoch' } = $2 ;
25882588 $co {' committer_tz' } = $3 ;
2589- $co {' committer_name' } = $co {' committer' };
25902589 if ($co {' committer' } =~ m / ^([^<]+) <([^>]*)>/ ) {
25912590 $co {' committer_name' } = $1 ;
25922591 $co {' committer_email' } = $2 ;
You can’t perform that action at this time.
0 commit comments