author | Johannes Schindelin <Johannes.Schindelin@gmx.de> | |
Fri, 11 Jul 2008 23:28:18 +0000 (00:28 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sat, 12 Jul 2008 04:16:37 +0000 (21:16 -0700) | ||
commit | e0cbc39768884a1e7edcf2dbf6e6825c4b23485a | |
tree | b97af457b406343bcd49677ca09e6fd211591ddd | tree | snapshot |
parent | e09c4e753c337d914f4eb7a05cb5e8bbfc362489 | commit | diff |
Add pretty format %aN which gives the author name, respecting .mailmap
The pretty format %an does not respect .mailmap, but gives the exact
author name recorded in the commit. Sometimes it is more desirable,
however, to look if the email has another name mapped to it in .mailmap.
This commit adds %aN (and %cN for the committer name) to do exactly that.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
The pretty format %an does not respect .mailmap, but gives the exact
author name recorded in the commit. Sometimes it is more desirable,
however, to look if the email has another name mapped to it in .mailmap.
This commit adds %aN (and %cN for the committer name) to do exactly that.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/pretty-formats.txt | diff | blob | history | |
pretty.c | diff | blob | history |