git/contrib/coccinelle/the_repository.cocci
René Scharfe 4eb105c119 cocci: remove obsolete the_repository rules
035c7de9e9e (cocci: apply the "revision.h" part of
"the_repository.pending", 2023-03-28) removed the last of the repo-less
functions and macros mentioned in the_repository.cocci at the time.  No
stragglers appeared since then.  Remove the applied rules now that they
have outlived their usefulness.

Also add a reminder to eventually remove the just added rules for
tree.h.

Suggested-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: René Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2026-01-15 14:18:08 -08:00

19 lines
303 B
Plaintext

// Fully migrated "the_repository" additions
@@
@@
(
// TODO: remove the rules below and the macros from tree.h after the
// next Git release.
- parse_tree
+ repo_parse_tree
|
- parse_tree_gently
+ repo_parse_tree_gently
|
- parse_tree_indirect
+ repo_parse_tree_indirect
)
(
+ the_repository,
...)