Skip to content

Fixing up names in blame output.

Junio C Hamano git 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Split out mailmap handling out of shortlogMakefile builtin-shortlog.c mailmap.c +1 more+101 -820 replies
2/2Apply mailmap in git-blame output.builtin-blame.c+39 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] Fixing up names in blame output.

The first in the series moves existing functions from builtin-blame.c to a new file, mailmap.c, and cleans its interface up a little bit, to make it more usable by other programs. This does not depend on anything and can go directly on top of 'master'.

The second one uses it to fix up the names in git-blame output. I added a new option '-x' to disable mailmap mapping, but it might not be worth it. I also considered moving this logic to pretty_print_commit, but decided against it. I do not think it is a good idea to have irreversible data munging at such a low level in the system.

I'll park this in 'pu' tonight. I think this is safe enough to be fast-tracked to v1.5.2-rc1 if people wanted it, but on the other hand, I do not think this is such an ungent feature either.