Skip to content
Commits on Jan 12, 2010
  1. @gitster

    mailmap.c: remove unused function

    gitster committed
    map_email() is not used anywhere.
    Signed-off-by: Junio C Hamano <>
Commits on Feb 8, 2009
  1. @gitster

    Add map_user() and clear_mailmap() to mailmap

    Marius Storm-Olsen committed with gitster
    map_user() allows to lookup and replace both email and
    name of a user, based on a new style mailmap file.
    The possible mailmap definitions are now:
      proper_name <commit_email>                             # Old style
      <proper_email> <commit_email>                          # New style
      proper_name <proper_email> <commit_email>              # New style
      proper_name <proper_email> commit_name <commit_email>  # New style
    map_email() operates the same as before, with the
    exception that it also will to try to match on a name
    passed in through the name return buffer.
    clear_mailmap() is needed to now clear the more complex
    mailmap structure.
    Signed-off-by: Marius Storm-Olsen <>
    Signed-off-by: Junio C Hamano <>
  2. @gitster

    Add mailmap.file as configurational option for mailmap location

    Marius Storm-Olsen committed with gitster
    This allows us to augment the repo mailmap file, and to use
    mailmap files elsewhere than the repository root. Meaning
    that the entries in mailmap.file will override the entries
    in "./.mailmap", should they match.
    Signed-off-by: Marius Storm-Olsen <>
    Signed-off-by: Junio C Hamano <>
Commits on Jul 22, 2008
  1. @dscho @gitster

    Rename path_list to string_list

    dscho committed with gitster
    The name path_list was correct for the first usage of that data structure,
    but it really is a general-purpose string list.
    $ perl -i -pe 's/path-list/string-list/g' $(git grep -l path-list)
    $ perl -i -pe 's/path_list/string_list/g' $(git grep -l path_list)
    $ git mv path-list.h string-list.h
    $ git mv path-list.c string-list.c
    $ perl -i -pe 's/has_path/has_string/g' $(git grep -l has_path)
    $ perl -i -pe 's/path/string/g' string-list.[ch]
    $ git mv Documentation/technical/api-path-list.txt \
    $ perl -i -pe 's/strdup_paths/strdup_strings/g' $(git grep -l strdup_paths)
    ... and then fix all users of string-list to access the member "string"
    instead of "path".
    Documentation/technical/api-string-list.txt needed some rewrapping, too.
    Signed-off-by: Johannes Schindelin <>
    Signed-off-by: Junio C Hamano <>
Commits on Apr 29, 2007
  1. Split out mailmap handling out of shortlog

    Junio C Hamano committed
    This splits out a few functions to deal with mailmap from
    shortlog and makes it a bit more usable from other programs.
    Most notably, it does not clobber input e-mail address anymore.
    Signed-off-by: Junio C Hamano <>
Something went wrong with that request. Please try again.