diff options
author | Stefan Beller <sbeller@google.com> | 2016-05-18 18:09:31 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-05-19 10:59:22 -0700 |
commit | 901193f6a040bc9a21aee9e4f270c78a2e696ed6 (patch) | |
tree | af3e891a84e56013b36ff0f6b601b72392080a11 | |
parent | 0f8e831356d4f1a34baf46bb1a6b2d4c89ec9cb8 (diff) | |
download | git-sb/string-list-split-appends.tar.gz |
string list: improve commentsb/string-list-split-appends
Signed-off-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r-- | string-list.h | 2 |
1 files changed, 1 insertions, 1 deletions
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"] |