We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ade0ddb commit 6b90685Copy full SHA for 6b90685
internal/repo-manager/manager.go
@@ -263,7 +263,7 @@ func (m *Manager) GetAuthors() ([]Author, error) {
263
}
264
265
authorMap := make(map[string]*Author)
266
-
+
267
err = commitIter.ForEach(func(c *object.Commit) error {
268
email := c.Author.Email
269
if _, exists := authorMap[email]; !exists {
@@ -274,12 +274,12 @@ func (m *Manager) GetAuthors() ([]Author, error) {
274
275
276
authorMap[email].Count++
277
278
// Update name if it's different (use the most recent name)
279
if authorMap[email].Name != c.Author.Name && c.Author.When.After(c.Committer.When) {
280
authorMap[email].Name = c.Author.Name
281
282
283
return nil
284
})
285
if err != nil {
0 commit comments