summaryrefslogtreecommitdiff
path: root/decorate.h
diff options
context:
space:
mode:
authorAntoine Pelisse <apelisse@gmail.com>2013-08-23 13:48:31 (GMT)
committerJunio C Hamano <gitster@pobox.com>2013-08-25 05:17:39 (GMT)
commitea16794e4303e79f8acb01a93fb6b1762972ab86 (patch)
treeb7cfced09a5db569eccaf9d40a00a41603ef8389 /decorate.h
parent0d8beaa5b76e824c9869f0d1f1b19ec7acf4982f (diff)
downloadgit-ea16794e4303e79f8acb01a93fb6b1762972ab86.zip
git-ea16794e4303e79f8acb01a93fb6b1762972ab86.tar.gz
git-ea16794e4303e79f8acb01a93fb6b1762972ab86.tar.bz2
commit: search author pattern against mailmap
"git commit --author=$name" sets the author to one whose name matches the given string from existing commits, when $name is not in the "Name <e-mail>" format. However, it does not honor the mailmap to use the canonical name for the author found this way. Fix it by telling the logic to find a matching existing author to honor the mailmap, and use the name and email after applying the mailmap. Signed-off-by: Antoine Pelisse <apelisse@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'decorate.h')
0 files changed, 0 insertions, 0 deletions