From: Junio C Hamano Date: Mon, 10 Dec 2012 20:16:14 GMT Subject: Re: Use of a mailmap file with git-log Message-ID: <7vfw3dacj5.fsf@alter.siamese.dyndns.org> In-Reply-To: Antoine Pelisse writes: > It could indeed be very interesting to have mailmap applied to git-log and > especially to git-log --author/--committer. > ... > The choice of parse_commit_buffer to do the modification is due to > the grepping being done directly on buffer when grepping author/committerer. For pattern matching, I think revision.c::commit_match() is probably the right place to do this kind of thing. I just noticed that we grep for the string inside a raw buffer, even when "encoding" is specified, which I think is a bug.