]> Kevux Git Server - rit/commit
use strvec_pushv() to add another strvec
authorJunio C Hamano <gitster@pobox.com>
Tue, 24 Mar 2026 19:26:58 +0000 (12:26 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 24 Mar 2026 19:26:58 +0000 (12:26 -0700)
commit250e977a2b0aa8cc1c8063c64c44597a166e79f5
tree4bd35c77429ddd78fd53233d41e44b92e02d3e15
parent2d733b9660700fa4dd03a89d9003b8865b99bf4d
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>
builtin/rebase.c
fetch-pack.c
git.c
submodule.c
tools/coccinelle/strvec.cocci [new file with mode: 0644]