From: Tom Rini Date: Tue, 22 Jul 2014 15:24:08 -0400 Subject: [U-Boot] [U-Boot, v2, 2/3] scripts: add mailmapper, a tool to create/update mailmap file In-Reply-To: <1405500586-11793-3-git-send-email-yamada.m@jp.panasonic.com> References: <1405500586-11793-3-git-send-email-yamada.m@jp.panasonic.com> Message-ID: <20140722192408.GR1847@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, Jul 16, 2014 at 05:49:45PM +0900, Masahiro Yamada wrote: > 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 Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: