更改:只有email不敏感
This commit is contained in:
parent
c03d275d4f
commit
e5257f0f8c
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue