I have a group of repositories and I have a .mailmap file for combining usernames.
My .mailmap file works for all repos when it is at the root of each of them.
I tried putting the file in the ~ / .gitconfig file and it does not work. I use Git for Windows and in my global .gitconfig file I added the following:
>> git config --global mailmap.file "~/.mailmap"
This is the command I used. Also tried the magazine shown below.
[log] mailmap = ~/.mailmap [mailmap] file = C:/Documents and Settings/<username>/.mailmap
Both lead to the same file, but apparently it doesn't respect this file when using git-shortlog
Any suggestions? Thanks.
EDIT There has never been a git for working with windows. My fix was to save the mailmap file in the database and write it to each repository using a script.
source share