I've been trying to make my .mailmap file to work globally in Windows, without having to put it at the root of each repository.
So I've moved it to C:\Users\.mailmap and added in the config file the following:
[mailmap]
file = 'C:/Users/<username>/.mailmap'
But it doesn't work.
I've tried all variations of no-quotes, single quotes, double quotes, single slash, double backslash... and I haven't been able to make it work. I've also tried using a more Windows-friendly file name, like MailMapGlobal.txt (similar to the GitignoreGlobal.txt I have that works just fine).
While researching the problem I've found this apparently unresolved question from 2011, which is pretty much the same, and I was wondering if there's been any news on this issue in the last 6 years or if there's a known solution that is not listed in that question.
I'm using Windows 7, with git 2.13.2.windows.1