aboutsummaryrefslogtreecommitdiffstats
path: root/grep.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2022-07-18 13:31:56 -0700
committerJunio C Hamano <gitster@pobox.com>2022-07-18 13:31:57 -0700
commit7f8d098b1b1ca1e5b91b17d05b51bc5b7a7ad6bf (patch)
tree5f4b1b70e19b990092cecc676422042ad12e642a /grep.h
parentMerge branch 'gc/submodule-use-super-prefix' (diff)
parentcocci: generalize "unused" rule to cover more than "strbuf" (diff)
downloadgit-7f8d098b1b1ca1e5b91b17d05b51bc5b7a7ad6bf.tar.gz
git-7f8d098b1b1ca1e5b91b17d05b51bc5b7a7ad6bf.zip
Merge branch 'ab/cocci-unused'
Add Coccinelle rules to detect the pattern of initializing and then finalizing a structure without using it in between at all, which happens after code restructuring and the compilers fail to recognize as an unused variable. * ab/cocci-unused: cocci: generalize "unused" rule to cover more than "strbuf" cocci: add and apply a rule to find "unused" strbufs cocci: have "coccicheck{,-pending}" depend on "coccicheck-test" cocci: add a "coccicheck-test" target and test *.cocci rules Makefile & .gitignore: ignore & clean "git.res", not "*.res" Makefile: remove mandatory "spatch" arguments from SPATCH_FLAGS
Diffstat (limited to 'grep.h')
0 files changed, 0 insertions, 0 deletions