From: Olamide Caleb Bello Date: Thu, 16 Oct 2025 01:03:52 GMT Subject: [Outreachy PATCH v2 0/2] gpg-interface.c: use string_list_split() instead of strbuf_split_max() Message-ID: Commit 2efe707054 (wt-status: avoid strbuf_split*(), 2025-07-31) noticed that the array of strbufs that calls to strbuf_split*() provides are merely used to store the strings gotten from the split and no edit are done on these resulting strings making the strbuf_split*() unideal for this usecase, with the string_list_split*() being a more suitable option. The patch series by Junio Hamano can be seen in the link below. https://public-inbox.org/git/20250731225433.4028872-1-gitster@pobox.com/ This series continues on this path by replacing instances of strbuf_split_max() with string_list_split() where the string from the split is merely returned as char * and no edits are done on them. Changes since v1 ================ - Added commit reference and link to patch series for previous work done on the subject Olamide Caleb Bello (2): gpg-interface: replace strbuf_split_max() with string_list_split() gpg-interface: use string_list_split() instead of strbuf_split_max() gpg-interface.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) -- 2.51.0.463.g79cf913ea9