更改:只有email不敏感

This commit is contained in:
yystopf 2023-12-08 10:10:03 +08:00
parent c03d275d4f
commit e5257f0f8c
1 changed files with 1 additions and 1 deletions

View File

@ -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