Re: [PATCH v2 2/6] string_list: add two new functions for splitting strings
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Sep 10, 2012, 22:33 UTC
- Message-ID
- <7v8vchld82.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <1347311926-5207-3-git-send-email-mhagger@alum.mit.edu>
Michael Haggerty <mhagger@alum.mit.edu> writes:
Show 6 quoted lines
> +`string_list_split`, `string_list_split_in_place`:: > + > + Split a string into substrings on a delimiter character and > + append the substrings to a `string_list`. If `maxsplit` is > + non-negative, then split at most `maxsplit` times. Return the > + number of substrings appended to the list.
I recall that we favor
`A`:: `B`::
Description for A and B
for some reason but do not remember exactly why.