Closed Bug 1436182 Opened 2 years ago Closed 2 years ago

Add .mailmap file to mozilla-central


(Developer Services :: General, task)

Not set


(Not tracked)



(Reporter: Nika, Assigned: Nika)



(1 file)

Documentation about .mailmap:

A file named .mailmap in the root of the git repository can be used to rewrite the names and emails of authors in the repository's history under some situations, such as when viewing `git blame`. This can be useful for a few cases:

1. Correcting names and emails of contributors from old commits (such as ones) to point to the modern email and name of that contributor.
2. Fixing typos in names and emails which exist in commit history.
3. Updating an individual's name when it changes, for example due to marriage or a transition.

Unfortunately, .mailmap files are not currently respected by hg, to my knowledge, and not all git commands respect them by default. (for example, git show needs the --mailmap flag to be passed to respect mailmap settings).

I've attached a patch to add a .mailmap file to the mozilla-central repository. This patch rewrites my deadname to instead reflect my current name and email, which ideally should help people using git blame to find the correct person when they come across older code I wrote.
MozReview-Commit-ID: 2reDFK87sj8
Assignee: nobody → nika
Attachment #8948797 - Flags: review+
Pushed by
Add a .mailmap file to mozilla-central, r=ehsan
Closed: 2 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.