diff --git a/routers/repo/view.go b/routers/repo/view.go index 945f6b0e0..1ee47e12e 100644 --- a/routers/repo/view.go +++ b/routers/repo/view.go @@ -590,6 +590,9 @@ func Home(ctx *context.Context) { if err == nil && contributors != nil { var contributorInfos []*ContributorInfo for _, c := range contributors { + if strings.Compare(c.Email,"") == 0 { + continue + } // get user info from committer email user, err := models.GetUserByEmail(c.Email) if err == nil {