Skip to content

Commit 6acd3fb

Browse files
committed
Lowercase emails, fixes #59
1 parent 3713faf commit 6acd3fb

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

mkdocs_git_authors_plugin/git/commit.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,11 @@ def __init__(
3636

3737
# Replace <>
3838
# from '<[email protected]>'
39-
39+
4040
author_email = re.sub(r"\<|\>", "", author_email)
41+
# Lowercase, as emails are not case sensitive.
42+
# See https://github.com/timvink/mkdocs-git-authors-plugin/issues/59
43+
author_email = author_email.lower()
4144

4245
self._author = self.repo().author(author_name, author_email)
4346
self._datetime = util.commit_datetime(author_time, author_tz)

0 commit comments

Comments
 (0)