]> git.ipfire.org Git - thirdparty/git.git/commit - mailmap.c
mailmap: use higher level string list functions
authorStefan Beller <sbeller@google.com>
Tue, 25 Nov 2014 03:44:14 +0000 (19:44 -0800)
committerJunio C Hamano <gitster@pobox.com>
Thu, 4 Dec 2014 23:10:21 +0000 (15:10 -0800)
commit63226218ba39e971c8a75d9419a7668b075ad85e
tree31fe44cf59e26b32318058c0abaa3c6a98589875
parentfc66505c53f1a471e63b6122b2d629daca6e705b
mailmap: use higher level string list functions

No functional changes intended. This commit makes use of higher level
and better documented functions of the string list API, so the code is
more understandable.

Note that also the required computational amount should not change
in principal as we need to look up the item no matter if it is already
part of the list or not. Once looked up, insertion comes for free.

Signed-off-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
mailmap.c