commit | 6eac50d8274ef0acbbaec4f79e2876405ba8dcee | [log] [tgz] |
---|---|---|
author | Michael Haggerty <mhagger@alum.mit.edu> | Mon Nov 05 09:41:22 2012 +0100 |
committer | Jeff King <peff@peff.net> | Thu Nov 08 12:06:53 2012 -0500 |
tree | bbcebc4a9a9a71e8e7058d79b144e3e0389e92ca | |
parent | f07e5551a845b45076bf5c45118e16efa69610c4 [diff] |
link_alt_odb_entries(): use string_list_split_in_place() Change link_alt_odb_entry() to take a NUL-terminated string instead of (char *, len). Use string_list_split_in_place() rather than inline code in link_alt_odb_entries(). This approach saves some code and also avoids the (probably harmless) error of passing a non-NUL-terminated string to is_absolute_path(). Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Jeff King <peff@peff.net>