Re: [PATCH 04/10] mailmap: simplify map_user() interface

2013-01-06 Thread Junio C Hamano
Antoine Pelisse writes: > diff --git a/builtin/blame.c b/builtin/blame.c > index dd4aff9..86450e3 100644 > --- a/builtin/blame.c > +++ b/builtin/blame.c > ... > @@ -1356,51 +1356,61 @@ static void get_ac_line(const char *inbuf, const char > *what, > len = strlen(tmp); > else

[PATCH 04/10] mailmap: simplify map_user() interface

2013-01-05 Thread Antoine Pelisse
The new string_list_lookup_extended() allows us to simplify map_user(), mostly to avoid copies of string buffers. It also simplifies caller functions. map_user() directly receive pointers and length from the commit buffer as mail and name. If mapping of the user and mail can be done, the pointer i