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

[PATCH 0/4] Add some string_list-related functions

From
Michael Haggerty <mhagger@alum.mit.edu>
Date
Sep 9, 2012, 05:53 UTC
Message-ID
<1347169990-9279-1-git-send-email-mhagger@alum.mit.edu>

This patch series adds a few functions to the string_list API. They will be used in two upcoming patch series. Unfortunately, both of the series (which are otherwise logically independent) need the same function; therefore, I am submitting these string-list enhancements as a separate series on which the other two can depend.

This patch series applies to current master.
Michael Haggerty (4):
  Add a new function, string_list_split_in_place()
  Add a new function, filter_string_list()
  Add a new function, string_list_remove_duplicates()
  Add a function string_list_longest_prefix()
 .gitignore                                  |  1 +
 Documentation/technical/api-string-list.txt | 32 ++++++++++
 Makefile                                    |  1 +
 string-list.c                               | 77 ++++++++++++++++++++++++
 string-list.h                               | 41 +++++++++++++
 t/t0063-string-list.sh                      | 93 +++++++++++++++++++++++++++++
 test-string-list.c                          | 47 +++++++++++++++
 7 files changed, 292 insertions(+)
 create mode 100755 t/t0063-string-list.sh
 create mode 100644 test-string-list.c
-- 
1.7.11.3
Next: Michael Haggerty
Message 1 of 23 in “Add some string_list-related functions”
  1. 0/4 Add some string_list-related functionsMichael Haggerty, Sep 9, 2012
  2. 1/4 Add a new function, string_list_split_in_place()Michael Haggerty, Sep 9, 2012
  3. Junio C HamanoSep 9, 2012
  4. Michael HaggertySep 10, 2012
  5. Junio C HamanoSep 10, 2012
  6. Michael HaggertySep 10, 2012
  7. Junio C HamanoSep 10, 2012
  8. 2/4 Add a new function, filter_string_list()Michael Haggerty, Sep 9, 2012
  9. Junio C HamanoSep 9, 2012
  10. Michael HaggertySep 10, 2012
  11. 3/4 Add a new function, string_list_remove_duplicates()Michael Haggerty, Sep 9, 2012
  12. Junio C HamanoSep 9, 2012
  13. Michael HaggertySep 10, 2012
  14. 4/4 Add a function string_list_longest_prefix()Michael Haggerty, Sep 9, 2012
  15. Junio C HamanoSep 9, 2012
  16. Michael HaggertySep 10, 2012
  17. Junio C HamanoSep 10, 2012
  18. Jeff KingSep 10, 2012
  19. Andreas EricssonSep 10, 2012
  20. Using doxygen (or something similar) to generate API docs [was [PATCH 4/4] Add a function string_list_longest_prefix()]Michael Haggerty, Sep 10, 2012
  21. Jeff KingSep 10, 2012
  22. Michael HaggertySep 10, 2012
  23. Andreas EricssonSep 11, 2012

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.