From 901193f6a040bc9a21aee9e4f270c78a2e696ed6 Mon Sep 17 00:00:00 2001 From: Stefan Beller Date: Wed, 18 May 2016 18:09:31 -0700 Subject: string list: improve comment Signed-off-by: Stefan Beller Signed-off-by: Junio C Hamano --- string-list.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/string-list.h b/string-list.h index d3809a1417..465a1f03ca 100644 --- a/string-list.h +++ b/string-list.h @@ -106,7 +106,7 @@ void unsorted_string_list_delete_item(struct string_list *list, int i, int free_ * list->strdup_strings must be set, as new memory needs to be * allocated to hold the substrings. If maxsplit is non-negative, * then split at most maxsplit times. Return the number of substrings - * appended to list. + * appended to list. The list may be non-empty already. * * Examples: * string_list_split(l, "foo:bar:baz", ':', -1) -> ["foo", "bar", "baz"] -- cgit v1.2.1