diff --git a/modules/git/repo_contributors.go b/modules/git/repo_contributors.go index 622dcf0..c2a9c19 100644 --- a/modules/git/repo_contributors.go +++ b/modules/git/repo_contributors.go @@ -118,7 +118,7 @@ func GetRepoContributorsNew(repo *gitea_git.Repository, page, pageSize int) (int if err != nil { return err } - name := strings.ToLower(l[strings.Index(l, "\t")+1 : strings.Index(l, " <")]) + name := l[strings.Index(l, "\t")+1 : strings.Index(l, " <")] email := strings.ToLower(l[strings.Index(l, "<")+1 : strings.Index(l, ">")]) totalContributions += commitsInt // committer is not system user