Re: What's cooking in git.git (Apr 2026, #01)
René Scharfe <l.s.r@web.de> writes:
Show 30 quoted lines
> On 4/2/26 1:42 AM, Junio C Hamano wrote:
>> * rs/use-strvec-pushv (2026-03-24) 2 commits
>> (merged to 'next' on 2026-03-24 at 7c6487dcaf)
>> + use strvec_pushv() to add another strvec
>> + Merge branch 'ps/build-tweaks' into rs/use-strvec-pushv
>>
>> Code paths that loop over another array to push each element into a
>> strvec have been rewritten to use strvec_pushv() instead.
>> source: <084f3b43-91ac-4553-8305-03944e97eaa6@web.de>
>
> Curious:
>
> commit 250e977a2b0aa8cc1c8063c64c44597a166e79f5
> Author: Junio C Hamano <gitster@pobox.com>
> Date: Tue Mar 24 12:26:58 2026 -0700
>
> use strvec_pushv() to add another strvec
>
> Add and apply a semantic patch that simplifies the code by letting
> strvec_pushv() append the items of a second strvec instead of pushing
> them one by one.
>
> Suggested-by: Junio C Hamano <gitster@pobox.com>
> Signed-off-by: René Scharfe <l.s.r@web.de>
> Signed-off-by: Junio C Hamano <gitster@pobox.com>
>
> I guess you became the author when you resolved the merge conflict
> caused by moving contrib/coccinelle/ to tools/?
>
> René
Curious indeed, thanks for noticing, and sorry for the mistake.