]> git.ipfire.org Git - thirdparty/git.git/commit - string-list.c
string_list: add a new function, filter_string_list()
authorMichael Haggerty <mhagger@alum.mit.edu>
Wed, 12 Sep 2012 14:04:44 +0000 (16:04 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 12 Sep 2012 18:43:25 +0000 (11:43 -0700)
commiteb5f0c7a616531a024a582b72ca6d8775ff98d46
tree1c791a163140cb2988c7d2049ce706ad93e0c23d
parentff919f965d20d003e3882c70de667f41a86349ac
string_list: add a new function, filter_string_list()

This function allows entries that don't match a specified criterion to
be discarded from a string_list while preserving the order of the
remaining entries.

Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/technical/api-string-list.txt
string-list.c
string-list.h
t/t0063-string-list.sh
test-string-list.c