更改:只有email不敏感
This commit is contained in:
parent
de2fd01271
commit
c4829333a8
|
|
@ -119,7 +119,7 @@ func GetRepoContributorsNew(repo *gitea_git.Repository, page, pageSize int) (int
|
|||
return err
|
||||
}
|
||||
name := l[strings.Index(l, "\t")+1 : strings.Index(l, " <")]
|
||||
email := l[strings.Index(l, "<")+1 : strings.Index(l, ">")]
|
||||
email := strings.ToLower(l[strings.Index(l, "<")+1 : strings.Index(l, ">")])
|
||||
totalContributions += commitsInt
|
||||
// committer is not system user
|
||||
if existedContributorInfo, ok := contributorInfoHash[email]; ok {
|
||||
|
|
|
|||
Loading…
Reference in New Issue