Re: [PATCH v2 2/6] string_list: add two new functions for splitting strings

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

Re: [PATCH v2 2/6] string_list: add two new functions for splitting strings

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:54:43

Michael Haggerty [off-list ref] writes:
+`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.

Re: [PATCH v2 2/6] string_list: add two new functions for splitting strings

From: Michael Haggerty <hidden>
Date: 2016-06-15 22:54:43

On 09/11/2012 12:33 AM, Junio C Hamano wrote:
Michael Haggerty [off-list ref] writes:
quoted
+`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.
Will change.  Thanks.

Michael

-- 
Michael Haggerty
mhagger@alum.mit.edu
http://softwareswirl.blogspot.com/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help