]> Kevux Git Server - rit/commit
contrib: move "coccinelle/" directory into "tools/"
authorPatrick Steinhardt <ps@pks.im>
Thu, 19 Mar 2026 05:33:21 +0000 (06:33 +0100)
committerJunio C Hamano <gitster@pobox.com>
Thu, 19 Mar 2026 13:40:08 +0000 (06:40 -0700)
commit8ca1b4472ce97ae1d120608f9f02a86fa33d4187
tree08c593382b995fb479d6f883db59ee7c175e2e0c
parent8872941fd21e2afe37032e7d9beec87b69aca9c9
contrib: move "coccinelle/" directory into "tools/"

The Coccinelle tool is an ingrained part of our build infrastructure. It
is executed by our CI to detect antipatterns and is used to detect
misuses of certain interfaces. It's presence in "contrib/" is thus
rather misleading.

Promote the configuration into the new "tools/" directory.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
30 files changed:
Makefile
ci/run-static-analysis.sh
contrib/meson.build
tools/coccinelle/.gitignore [moved from contrib/coccinelle/.gitignore with 100% similarity]
tools/coccinelle/README [moved from contrib/coccinelle/README with 98% similarity]
tools/coccinelle/array.cocci [moved from contrib/coccinelle/array.cocci with 100% similarity]
tools/coccinelle/commit.cocci [moved from contrib/coccinelle/commit.cocci with 100% similarity]
tools/coccinelle/config_fn_ctx.pending.cocci [moved from contrib/coccinelle/config_fn_ctx.pending.cocci with 100% similarity]
tools/coccinelle/equals-null.cocci [moved from contrib/coccinelle/equals-null.cocci with 100% similarity]
tools/coccinelle/flex_alloc.cocci [moved from contrib/coccinelle/flex_alloc.cocci with 100% similarity]
tools/coccinelle/free.cocci [moved from contrib/coccinelle/free.cocci with 100% similarity]
tools/coccinelle/git_config_number.cocci [moved from contrib/coccinelle/git_config_number.cocci with 100% similarity]
tools/coccinelle/hashmap.cocci [moved from contrib/coccinelle/hashmap.cocci with 100% similarity]
tools/coccinelle/index-compatibility.cocci [moved from contrib/coccinelle/index-compatibility.cocci with 100% similarity]
tools/coccinelle/meson.build [moved from contrib/coccinelle/meson.build with 100% similarity]
tools/coccinelle/object_id.cocci [moved from contrib/coccinelle/object_id.cocci with 100% similarity]
tools/coccinelle/preincr.cocci [moved from contrib/coccinelle/preincr.cocci with 100% similarity]
tools/coccinelle/qsort.cocci [moved from contrib/coccinelle/qsort.cocci with 100% similarity]
tools/coccinelle/refs.cocci [moved from contrib/coccinelle/refs.cocci with 100% similarity]
tools/coccinelle/spatchcache [moved from contrib/coccinelle/spatchcache with 97% similarity]
tools/coccinelle/strbuf.cocci [moved from contrib/coccinelle/strbuf.cocci with 100% similarity]
tools/coccinelle/swap.cocci [moved from contrib/coccinelle/swap.cocci with 100% similarity]
tools/coccinelle/tests/free.c [moved from contrib/coccinelle/tests/free.c with 100% similarity]
tools/coccinelle/tests/free.res [moved from contrib/coccinelle/tests/free.res with 100% similarity]
tools/coccinelle/the_repository.cocci [moved from contrib/coccinelle/the_repository.cocci with 100% similarity]
tools/coccinelle/xcalloc.cocci [moved from contrib/coccinelle/xcalloc.cocci with 100% similarity]
tools/coccinelle/xopen.cocci [moved from contrib/coccinelle/xopen.cocci with 100% similarity]
tools/coccinelle/xstrdup_or_null.cocci [moved from contrib/coccinelle/xstrdup_or_null.cocci with 100% similarity]
tools/coccinelle/xstrncmpz.cocci [moved from contrib/coccinelle/xstrncmpz.cocci with 100% similarity]
tools/meson.build