Hi Community!
I'm testing git's .mailmap compatibility with Bitbucket Data Center and was unable to make it work so far. So I'm wondering if it is supported at all.
Does anyone know?
Let's say I pushed a commit with a wrong user.email in my .gitconfig
commit d2c818edeecb27101e9b87cc0eea07315756256e
Author: cmisonne <charlie.misonne.ext@example.wrong>
Date: Fri Aug 7 16:49:39 2026 +0200
This should be Charlie Misonne <charlie.misonne.ext@example.com>
with this in .mailmap I can fix it at the git level:
Charlie Misonne <charlie.misonne.ext@example.int> cmisonne <charlie.misonne.ext@example.wrong>
When performing git shortlog the wrong commit is displayed with the corrected name and email.
But in Bitbucket "cmisonne" is still the displayed name and the commits are not linked to my account.
Even the "verify commiter" hook does not seem to work with my .mailmap while the documentation says it should: https://confluence.atlassian.com/bitbucketserver094/using-repository-hooks-1489801800.html