summaryrefslogtreecommitdiffstats
path: root/.mailmap
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2014-07-16 17:49:45 +0900
committerTom Rini <trini@ti.com>2014-07-22 07:44:27 -0400
commit45765eeda2d0eae209c50d82444ba85cdbad33eb (patch)
treeb1974e8a41118a1803e0656e575f97b7f0b200e1 /.mailmap
parent8b90a11f7cf1d06812bc9a02e0bae20cfe40a564 (diff)
downloadtalos-obmc-uboot-45765eeda2d0eae209c50d82444ba85cdbad33eb.tar.gz
talos-obmc-uboot-45765eeda2d0eae209c50d82444ba85cdbad33eb.zip
scripts: add mailmapper, a tool to create/update mailmap file
This tool helps to create/update the mailmap file. It runs 'git shortlog' internally and searches differently spelled author names which share the same email address. The author name with the most commits is asuumed to be a canonical real name. If the number of commits from the cananonical name is equal to or greater than 'MIN_COMMITS' (=50), the entry for the cananical name will be output. ('MIN_COMMITS' is used here because we do not want to create a fat mailmap by adding every author with only a few commits.) If there exists a mailmap file specified by the mailmap.file configuration options or '.mailmap' at the toplevel of the repository, it is used as a base file. The base file and the newly added entries are merged together and sorted alphabetically (but the comment block is kept untouched), and then printed to standard output. Usage ----- scripts/mailmapper prints the mailmapping to standard output. scripts/mailmapper > tmp; mv tmp .mailmap will be useful for updating '.mailmap' file. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud