From e5257f0f8ca7daf9e2f1467d854eb530c22fc0fb Mon Sep 17 00:00:00 2001 From: yystopf Date: Fri, 8 Dec 2023 10:10:03 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=94=B9=EF=BC=9A=E5=8F=AA=E6=9C=89em?= =?UTF-8?q?ail=E4=B8=8D=E6=95=8F=E6=84=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/git/repo_contributors.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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