]> git.ipfire.org Git - thirdparty/git.git/commit
use DUP_ARRAY
authorRené Scharfe <l.s.r@web.de>
Sun, 1 Jan 2023 21:16:48 +0000 (22:16 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 9 Jan 2023 04:28:36 +0000 (13:28 +0900)
commit6e578410960d9ceb35ec98ad4b6fc711f1a9c85c
treeeda5b7fabcc2394e6b9b3f021d8e03a0833273fe
parentd2ec87a684e2f9cd1f0c653620a00d74ad5ee2ce
use DUP_ARRAY

Add a semantic patch for replace ALLOC_ARRAY+COPY_ARRAY with DUP_ARRAY
to reduce code duplication and apply its results.

Signed-off-by: René Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
attr.c
builtin/am.c
commit-graph.c
commit-reach.c
compat/mingw.c
contrib/coccinelle/array.cocci
parse-options.c
pathspec.c