Resolve author and committer names through .mailmap - #162
Merged
Conversation
lusingander
requested changes
Aug 19, 2026
lusingander
left a comment
Owner
There was a problem hiding this comment.
Thanks for working on this! Could you please make the following changes?
- Please add a new
[core.git]section and movemailmapoption under it. - I’d like the default value to be
false.- Enabling it by default would probably be fine and unlikely to cause problems, but for now I’d prefer to preserve the existing behavior.
Contributor
Author
|
Moved mailmap under a new [core.git] section and defaulted it to false to keep the existing behavior, as you suggested. Thanks! |
lusingander
approved these changes
Aug 19, 2026
Owner
|
Thank you! |
tmeijn
pushed a commit
to tmeijn/dotfiles
that referenced
this pull request
Aug 21, 2026
This MR contains the following updates: | Package | Update | Change | |---|---|---| | [lusingander/serie](https://github.com/lusingander/serie) | patch | `v0.8.1` → `v0.8.2` | MR created with the help of [el-capitano/tools/renovate-bot](https://gitlab.com/el-capitano/tools/renovate-bot). **Proposed changes to behavior should be submitted there as MRs.** --- ### Release Notes <details> <summary>lusingander/serie (lusingander/serie)</summary> ### [`v0.8.2`](https://github.com/lusingander/serie/releases/tag/v0.8.2) [Compare Source](lusingander/serie@v0.8.1...v0.8.2) #### What's Changed - Resolve author and committer names through .mailmap by [@​ChrisJr404](https://github.com/ChrisJr404) in [#​162](lusingander/serie#162) - Accept lowercase enum values in config by [@​lusingander](https://github.com/lusingander) in [#​163](lusingander/serie#163) #### New Contributors - [@​ChrisJr404](https://github.com/ChrisJr404) made their first contribution in [#​162](lusingander/serie#162) **Full Changelog**: <lusingander/serie@v0.8.1...v0.8.2> </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever MR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this MR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box --- This MR has been generated by [Mend Renovate](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yODguMCIsInVwZGF0ZWRJblZlciI6IjQzLjI4OC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJSZW5vdmF0ZSBCb3QiLCJhdXRvbWF0aW9uOmJvdC1hdXRob3JlZCIsImRlcGVuZGVuY3ktdHlwZTo6cGF0Y2giXX0=-->
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #102.
serie builds its
git logformat string with the lowercase identity placeholders (%an,%ae, ...), so it always shows the raw name and email recorded in each commit. This switches to the uppercase variants (%aN,%aE,%cN,%cE) when a newcore.option.mailmapoption is enabled, which makes git resolve identities through the repository's.mailmapfile, the same waygit logandgit shortlogdo. Repositories without a.mailmapare unaffected, since the two placeholder forms produce identical output there.I defaulted the option to
trueso it works out of the box like git's own tooling, but it's a plain boolean, so anyone who prefers the raw values can setmailmap = false. Happy to make it opt-in instead if you would rather keep the current default.Added integration tests for the enabled, disabled, and no-
.mailmapcases, and documented the option in the config reference and JSON schema.