Skip to content
GitLab
Next
    • GitLab: the DevOps platform
    • Explore GitLab
    • Install GitLab
    • How GitLab compares
    • Get started
    • GitLab docs
    • GitLab Learn
  • Pricing
  • Talk to an expert
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    Projects Groups Topics Snippets
  • Register
  • Sign in
  • Git Git
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 59
    • Issues 59
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 6
    • Merge requests 6
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
    • Model experiments
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GitLab.orgGitLab.org
  • GitGit
  • Issues
  • #106
Closed
Open
Issue created Jun 15, 2022 by Christian Couder@chriscoolMaintainer

Make git cat-file support mailmap

Goal

The goal would be to make it possible for git cat-file to output commits and (perhaps) tag objects, where the content of the "author", "committer" and "tagger" fields have been passed through the mailmap mechanism, so that the email addresses and names are updated and not necessary the original email addresses and names.

This would be a big step towards resolving gitlab#14909

Proposed solution

It could be done by adding a new command line option, and/or maybe a config variable, in a similar way as what was done for git log, git shortlog and git show which have:

       --[no-]mailmap, --[no-]use-mailmap
           Use mailmap file to map author and committer names and email addresses to canonical real names and email addresses.
           See git-shortlog(1).

and

https://git-scm.com/docs/git-config#Documentation/git-config.txt-logmailmap

See also Git's mailmap doc

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking