1. 15 Aug, 2018 1 commit
  2. 10 Jan, 2013 1 commit
    • Antoine Pelisse's avatar
      mailmap: simplify map_user() interface · ea02ffa3
      Antoine Pelisse authored
      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 is updated to a new location. Lengths are also updated if
      The caller of map_user() can then copy the new email and name if
      Signed-off-by: Antoine Pelisse's avatarAntoine Pelisse <apelisse@gmail.com>
      Signed-off-by: default avatarJunio C Hamano <gitster@pobox.com>
  3. 12 Jan, 2010 1 commit
  4. 08 Feb, 2009 2 commits
  5. 22 Jul, 2008 1 commit
    • Johannes Schindelin's avatar
      Rename path_list to string_list · c455c87c
      Johannes Schindelin authored
      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's avatarJohannes Schindelin <johannes.schindelin@gmx.de>
      Signed-off-by: default avatarJunio C Hamano <gitster@pobox.com>
  6. 29 Apr, 2007 1 commit