I have a custom mailmap file for a Git repository which I configure using a per-repository mailmap.file
setting. However, if there's a mailmap file in the root of the repository it seems to interfere with my mappings. Is there any way I can ignore that file?
Asked
Active
Viewed 202 times
1

planetp
- 14,248
- 20
- 86
- 160
-
As there is inference between two files, why does the approach with gitignore not work? Perhaps you can create a small reproducible example? – Christoph Apr 09 '19 at 06:52
-
`.gitignore` only works for _untracked_ files, while `.mailmap` is part of the repo. – planetp Apr 09 '19 at 12:18
-
And you don't want to remove the file from tracking it seems? – Christoph Apr 09 '19 at 14:33
-
No, it's not my private repository :) It just used to have no `.mailmap` file. – planetp Apr 09 '19 at 16:07
-
But then you could remove it from tracking? – Christoph Apr 09 '19 at 16:10