Re: [Outreachy PATCH v3 2/2] gpg-interface: use string_list_split*() instead of strbuf_split*()
- From
Bello Olamide <belkid98@gmail.com>
- Date
- Oct 20, 2025, 19:02 UTC
- Message-ID
- <CAD=f0L_9Rx=DjiZdbmTATNPd5h2CtC3io+z7_0TFMAtA8b7OVA@mail.gmail.com>
- In-Reply-To
- <xmqq1pmx38lu.fsf@gitster.g>
On Mon, 20 Oct 2025 at 16:18, Junio C Hamano <gitster@pobox.com> wrote:
Show 13 quoted lines
> > Bello Olamide <belkid98@gmail.com> writes: > > > I am just asking to know if something like this > > should be done within the respective functions or I will need > > to write functions for each and just call here. > > Unlike [1/2] that asked for the second string, this one just wants > to discard everything after the first LF, so I am not sure if you > need any new helper or hand-rolled loop. Wouldn't strchr() and > xmemdupz() that were used in my response to [1/2] sufficient for the > purpose of this step, too? >
Yes it will, Thank you very much Junio. I will send the new patch
Bello