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

[PATCH v2 0/7] Make the string_list API consistent

From
Julian Phillips <julian@quantumfyre.co.uk>
Date
Jun 25, 2010, 23:41 UTC
Message-ID
<20100625234110.18927.33169.julian@quantumfyre.co.uk>

This is an re-roll of the series to make all the string_list functions take the list as the first argument that I sent back in April. The first 6 patches are based on master as of a few minutes ago. The last patch fixes up the only extra string_list_... calls in next, which are from the jn/grep-open topic (they are all string_list_append so patch 7 could be squashed into patch 6).

Julian Phillips (7):
  string_list: Fix argument order for print_string_list
  string_list: Fix argument order for for_each_string_list
  string_list: Fix argument order for string_list_insert
  string_list: Fix argument order for string_list_insert_at_index
  string_list: Fix argument order for string_list_lookup
  string_list: Fix argument order for string_list_append
  grep: fix string_list_append calls
 Documentation/technical/api-string-list.txt |    4 +-
 builtin/apply.c                             |   10 ++--
 builtin/commit.c                            |    2 +-
 builtin/fast-export.c                       |    4 +-
 builtin/fetch.c                             |   18 ++++----
 builtin/fmt-merge-msg.c                     |   18 ++++----
 builtin/grep.c                              |    6 +-
 builtin/log.c                               |   20 ++++----
 builtin/ls-files.c                          |    2 +-
 builtin/mailsplit.c                         |    2 +-
 builtin/mv.c                                |    2 +-
 builtin/receive-pack.c                      |    4 +-
 builtin/remote.c                            |   68 +++++++++++++-------------
 builtin/rerere.c                            |    2 +-
 builtin/shortlog.c                          |    4 +-
 builtin/show-ref.c                          |    2 +-
 diff-no-index.c                             |    2 +-
 http-backend.c                              |    6 +-
 mailmap.c                                   |    8 ++--
 merge-recursive.c                           |   24 +++++-----
 notes.c                                     |   12 ++--
 reflog-walk.c                               |    4 +-
 remote.c                                    |    6 +-
 rerere.c                                    |   10 ++--
 resolve-undo.c                              |    8 ++--
 revision.c                                  |    4 +-
 string-list.c                               |   18 ++++----
 string-list.h                               |   16 +++---
 transport-helper.c                          |    4 +-
 wt-status.c                                 |   10 ++--
 30 files changed, 150 insertions(+), 150 deletions(-)
Next: Julian Phillips
Message 1 of 9 in “Make the string_list API consistent”
  1. 0/7 Make the string_list API consistentJulian Phillips, Jun 25, 2010
  2. 1/7 string_list: Fix argument order for print_string_listJulian Phillips, Jun 25, 2010
  3. 2/7 string_list: Fix argument order for for_each_string_listJulian Phillips, Jun 25, 2010
  4. 3/7 string_list: Fix argument order for string_list_insertJulian Phillips, Jun 25, 2010
  5. 4/7 string_list: Fix argument order for string_list_insert_at_indexJulian Phillips, Jun 25, 2010
  6. 5/7 string_list: Fix argument order for string_list_lookupJulian Phillips, Jun 25, 2010
  7. 6/7 string_list: Fix argument order for string_list_appendJulian Phillips, Jun 25, 2010
  8. 7/7 grep: fix string_list_append callsJulian Phillips, Jun 25, 2010
  9. Junio C HamanoJun 27, 2010

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.