Skip to content

reroll of ap/log-mailmap

Junio C Hamano git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest10 patches 7 repliesIn review

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10string-list: allow case-insensitive string liststring-list.c string-list.h+17 -41 reply
2/10Use split_ident_line to parse author and committerbuiltin/blame.c builtin/shortlog.c pretty.c+52 -780 replies
3/10mailmap: remove email copy and length limitationmailmap.c+45 -163 replies
4/10mailmap: simplify map_user() interfacebuiltin/blame.c builtin/shortlog.c mailmap.c +2 more+126 -1440 replies
5/10mailmap: add mailmap structure to rev_info and ppcommit.h log-tree.c revision.h+3 -00 replies
6/10pretty: use mailmap to display username and emailpretty.c+37 -210 replies
7/10log: add --use-mailmap optionDocumentation/git-log.txt builtin/log.c+13 -10 replies
8/10test: add test for --use-mailmap optiont/t4203-mailmap.sh+14 -00 replies
9/10log: grep author/committer using mailmaprevision.c t/t4203-mailmap.sh+72 -00 replies
10/10log: add log.mailmap configuration optionDocumentation/config.txt builtin/log.c t/t4203-mailmap.sh+35 -00 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH v2 00/10] reroll of ap/log-mailmap

This is a reroll of the previous series Antoine posted on Saturday.

A new patch "string-list: allow case-insensitive string list" teaches the string-list API that some string lists can be sorted case insensitively (actually, you can feed any custom two string comparison functions).

The string_list_lookup_extended() function introduced by the previous series has been discarded. Instead, the third patch "mailmap: remove email copy and length limitation" introduces a helper function that takes a <char *, size_t> key that is not NUL terminated to look for a matching item in a string list, and uses that to update map_user() function, together with the fourth patch "mailmap: simplify map_user() interface".

All other patches are unmodified from Antoine's series (modulo wording tweaks here and there).

Antoine Pelisse (9):
Use split_ident_line to parse author and committer
mailmap: remove email copy and length limitation
mailmap: simplify map_user() interface
mailmap: add mailmap structure to rev_info and pp
pretty: use mailmap to display username and email
log: add --use-mailmap option
test: add test for --use-mailmap option
log: grep author/committer using mailmap
log: add log.mailmap configuration option

Junio C Hamano (1):
string-list: allow case-insensitive string list

 Documentation/config.txt  |   4 +
 Documentation/git-log.txt |   5 ++
 builtin/blame.c           | 183 ++++++++++++++++++++++------------------------
 builtin/log.c             |  16 +++-
 builtin/shortlog.c        |  54 ++++----------
 commit.h                  |   1 +
 log-tree.c                |   1 +
 mailmap.c                 |  94 +++++++++++++++---------
 mailmap.h                 |   4 +-
 pretty.c                  | 114 ++++++++++++++++-------------
 revision.c                |  54 ++++++++++++++
 revision.h                |   1 +
 string-list.c             |  17 ++++-
 string-list.h             |   4 +
 t/t4203-mailmap.sh        |  56 ++++++++++++++
 15 files changed, 379 insertions(+), 229 deletions(-)
Signature · 1 line
1.8.1.304.gf036638