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

[RFC Outreachy] gpg-interface: Replace strbuf_split()* with string_list_split()

From
Bello Olamide <belkid98@gmail.com>
Date
Oct 14, 2025, 00:44 UTC
Message-ID
<CAD=f0L9Z2kPWv-=wPbtytbMS7BuUtmAKCv2X_2rq0hB_Wsh=UA@mail.gmail.com>
Hello,

In continuation of my search for an appropriate microproject after temporarily moving on from my mail to the list which was about the check-whitespace script check for \No newline, I stumbled on the thread https://public-inbox.org/git/20250731225433.4028872-1-gitster@pobox.com/. After studying the thread and searching the codebase for other instances where strbuf_split()* can be replaced with string_list_split(), I saw some cases in gpg-interface.c where get_ssh_key_fingerprint and get_default_ssh_signing_key functions use the strbuf_split_max to split the input string and I think they can be good candidates for replacement with string_list_split().

Please, will this be good for a microproject? I will also appreciate any guides.

Thanks Bello

Next: Christian Couder
Message 1 of 3 in “[RFC Outreachy] gpg-interface: Replace strbuf_split()* with string_list_split()”
  1. Bello OlamideOct 14, 2025
  2. Christian CouderOct 14, 2025
  3. Bello OlamideOct 14, 2025

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.