[PATCH] git-commit: search author pattern against mailmap

2013-08-23 Thread Antoine Pelisse
When committing for someone else, using the --author option, it can be nice to use the mailmap file to find the correct name spelling and email address. Currently, you would have to find the correct mapping in mailmap file first, and then use the full ident form when committing. Let's allow

Re: [PATCH] git-commit: search author pattern against mailmap

2013-08-23 Thread Junio C Hamano
Antoine Pelisse apeli...@gmail.com writes: When committing for someone else, using the --author option, it can be nice to use the mailmap file to find the correct name spelling and email address. Currently, you would have to find the correct mapping in mailmap file first, and then use the

Re: [PATCH] git-commit: search author pattern against mailmap

2013-08-23 Thread Junio C Hamano
Jeff King p...@peff.net writes: But for that old and established --author parameter that does not use the standard format guesses feature to be useful, I agree that it should honor the mailmap. I wonder if it would hurt anybody if we made this unconditional, not even with --no-mailmap

Re: [PATCH] git-commit: search author pattern against mailmap

2013-08-23 Thread Antoine Pelisse
On Fri, Aug 23, 2013 at 9:03 PM, Junio C Hamano gits...@pobox.com wrote: OK, so how about labelling it as a bugfix, like this perhaps? We obviously need a test or two, though. OK, I will resubmit tomorrow with some tests. -- To unsubscribe from this list: send the line unsubscribe git in the

Re: [PATCH] git-commit: search author pattern against mailmap

2013-08-23 Thread Junio C Hamano
Antoine Pelisse apeli...@gmail.com writes: On Fri, Aug 23, 2013 at 9:03 PM, Junio C Hamano gits...@pobox.com wrote: OK, so how about labelling it as a bugfix, like this perhaps? We obviously need a test or two, though. OK, I will resubmit tomorrow with some tests. Thanks. Also, after I