From: René Scharfe Date: Fri, 30 Dec 2022 21:51:23 GMT Subject: [PATCH 0/3] COPY_ARRAY, MOVE_ARRAY, DUP_ARRAY Message-ID: Tighten the type check of COPY_ARRAY and MOVE_ARRAY. Then add DUP_ARRAY for making a shallow copy without repeating destination and element count, which inherits the stricter check. do full type check in COPY_ARRAY and MOVE_ARRAY add DUP_ARRAY use DUP_ARRAY attr.c | 3 +-- builtin/am.c | 3 +-- commit-graph.c | 3 +-- commit-reach.c | 3 +-- compat/mingw.c | 3 +-- contrib/coccinelle/array.cocci | 7 +++++++ git-compat-util.h | 7 +++++++ parse-options.c | 3 +-- pathspec.c | 6 ++---- 9 files changed, 22 insertions(+), 16 deletions(-) -- 2.39.0