longest_ancestor_length(): take a string_list argument for prefixes
authorMichael Haggerty <mhagger@alum.mit.edu>
Sun, 28 Oct 2012 16:16:24 +0000 (17:16 +0100)
committerJeff King <peff@peff.net>
Mon, 29 Oct 2012 06:34:58 +0000 (02:34 -0400)
commit31171d9e454d71144685866cfd6476b8ac69d314
tree518d646035a3ea9415472e7f874d396d52b07822
parenta5ccdbe416081d5749f286c193b70400e48ad03f
longest_ancestor_length(): take a string_list argument for prefixes

Change longest_ancestor_length() to take the prefixes argument as a
string_list rather than as a colon-separated string.  This will make
it easier for the caller to alter the entries before calling
longest_ancestor_length().

Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Jeff King <peff@peff.net>
cache.h
path.c
setup.c
test-path-utils.c