From: Michael Haggerty Date: Wed, 12 Sep 2012 14:04:46 +0000 (+0200) Subject: string_list: add a function string_list_longest_prefix() X-Git-Tag: v1.8.0-rc0~46^2~1 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/f103f95b11d087f07c0c48bf784cd9197e18f203?hp=f103f95b11d087f07c0c48bf784cd9197e18f203 string_list: add a function string_list_longest_prefix() Add a function that finds the longest string from a string_list that is a prefix of a given string. Signed-off-by: Michael Haggerty Signed-off-by: Junio C Hamano ---