evilsocket / evilsocket/gitstats

Support for mailmap

Offen
#5 2 Kommentare 2 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Go
Sterne
147
Forks
15
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Git has awesome `.mailmap` configuration allowing you to describe which emails are the same user. There's more documentation here: https://git-scm.com/docs/git-check-mailmap

Example report from gitstats:

```
█ 589 | foo@example.com
███ 2882 | foo@gmail.com
1 | foo@Foo.local
```

With this `.mailmap` document:
```
# Mapping historically incorrect Git author names and emails
John Doe

```

git would actually use only the left aliases and combine results in `git log`, `git shortlog` and others.

It would be great if `gitstats` could do the same using `git` plumbing commands and make use of the `.mailmap` configuration in the repository.

Thanks!

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.