git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH v2] string-list: Add a value to string_list initializer lists

From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
Date
Jun 3, 2014, 15:20 UTC
Message-ID
<vpqmwduqat4.fsf@anie.imag.fr>
In-Reply-To
<1401786798-3729-1-git-send-email-tanayabh@gmail.com>
Tanay Abhra <tanayabh@gmail.com> writes:
Show 10 quoted lines
> diff --git a/Documentation/technical/api-string-list.txt b/Documentation/technical/api-string-list.txt
> index 20be348..f1add51 100644
> --- a/Documentation/technical/api-string-list.txt
> +++ b/Documentation/technical/api-string-list.txt
> @@ -200,3 +200,5 @@ Represents the list itself.
>    You should not tamper with it.
>  . Setting the `strdup_strings` member to 1 will strdup() the strings
>    before adding them, see above.
> +. The `compare_strings_fn` member is used to specify a custom compare
> +  function, otherwise `strcmp()` is used as the default function.

Is this change intentional? It seems good, but not really related to the change described in the commit message.

In any case, this remark should not block patch inclusion, it's trivial enough.

-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/
Previous: Tanay Abhra
Message 2 of 2 in “string-list: Add a value to string_list initializer lists”
  1. string-list: Add a value to string_list initializer listsTanay Abhra, Jun 3, 2014
  2. Matthieu MoyJun 3, 2014

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.