|
|
|
@@ -460,7 +460,7 @@ func GetContributors(repoPath string) ([]Contributor, error){ |
|
|
|
commitCnt, _ := strconv.Atoi(number) |
|
|
|
committer := oneCount[strings.Index(oneCount, "\t")+1:strings.LastIndex(oneCount, " ")] |
|
|
|
committer = strings.Trim(committer, " ") |
|
|
|
email := oneCount[strings.LastIndex(oneCount, " ")+1:] |
|
|
|
email := oneCount[strings.Index(oneCount, "<")+1:strings.Index(oneCount, ">")] |
|
|
|
contributorsInfo[i] = Contributor{ |
|
|
|
commitCnt, committer, email, |
|
|
|
} |
|
|
|
|