summaryrefslogtreecommitdiff
path: root/contrib/coccinelle
AgeCommit message (Expand)AuthorFilesLines
2018-10-15object_id.cocci: match only expressions of type 'struct object_id'Libravatar SZEDER Gábor1-54/+63
2018-08-29convert "hashcmp() != 0" to "!hasheq()"Libravatar Jeff King1-0/+9
2018-08-29convert "oidcmp() != 0" to "!oideq()"Libravatar Jeff King1-0/+6
2018-08-29convert "hashcmp() == 0" to hasheq()Libravatar Jeff King1-0/+9
2018-08-29convert "oidcmp() == 0" to oideq()Libravatar Jeff King1-0/+6
2018-08-29coccinelle: use <...> for function exclusionLibravatar Jeff King2-12/+12
2018-07-16coccinelle: update commit.cocciLibravatar Derrick Stolee1-1/+1
2018-05-02coccinelle: avoid wrong transformation suggestions from commit.cocciLibravatar SZEDER Gábor1-6/+4
2018-04-11treewide: replace maybe_tree with accessor methodsLibravatar Derrick Stolee1-0/+30
2018-02-15Merge branch 'rs/cocci-strbuf-addf-to-addstr'Libravatar Junio C Hamano1-16/+1
2018-02-02cocci: simplify check for trivial format stringsLibravatar René Scharfe1-16/+1
2018-01-19cocci: use format keyword instead of a literal stringLibravatar René Scharfe1-1/+2
2017-10-02coccinelle: remove parentheses that become unnecessaryLibravatar René Scharfe1-5/+5
2017-07-17add MOVE_ARRAYLibravatar René Scharfe1-0/+17
2017-06-29coccinelle: polish FREE_AND_NULL rulesLibravatar René Scharfe1-9/+1
2017-06-16coccinelle: add a rule to make "expression" code use FREE_AND_NULL()Libravatar Ævar Arnfjörð Bjarmason1-0/+7
2017-06-16coccinelle: add a rule to make "type" code use FREE_AND_NULL()Libravatar Ævar Arnfjörð Bjarmason1-0/+8
2017-03-10Merge branch 'rs/strbuf-add-real-path'Libravatar Junio C Hamano2-0/+22
2017-02-27strbuf: add strbuf_add_real_path()Libravatar René Scharfe1-0/+6
2017-02-27cocci: use ALLOC_ARRAYLibravatar René Scharfe1-0/+16
2017-02-16Merge branch 'rs/cocci-check-free-only-null'Libravatar Junio C Hamano1-0/+6
2017-02-15Merge branch 'rs/swap'Libravatar Junio C Hamano1-0/+28
2017-02-11cocci: detect useless free(3) callsLibravatar René Scharfe1-0/+6
2017-02-02Merge branch 'rs/absolute-pathdup'Libravatar Junio C Hamano1-0/+6
2017-01-30add SWAP macroLibravatar René Scharfe1-0/+28
2017-01-26abspath: add absolute_pathdup()Libravatar René Scharfe1-0/+6
2016-11-01Merge branch 'rs/cocci'Libravatar Junio C Hamano1-0/+15
2016-11-01cocci: avoid self-references in object_id transformationsLibravatar René Scharfe1-0/+15
2016-10-28Merge branch 'jc/cocci-xstrdup-or-null' into maintLibravatar Junio C Hamano1-0/+7
2016-10-28Merge branch 'rs/cocci' into maintLibravatar Junio C Hamano4-6/+52
2016-10-26Merge branch 'jc/cocci-xstrdup-or-null'Libravatar Junio C Hamano1-0/+7
2016-10-17Merge branch 'rs/cocci'Libravatar Junio C Hamano1-0/+5
2016-10-12cocci: refactor common patterns to use xstrdup_or_null()Libravatar Junio C Hamano1-0/+7
2016-10-10Merge branch 'rs/qsort'Libravatar Junio C Hamano1-0/+37
2016-10-10remove unnecessary NULL check before free(3)Libravatar René Scharfe1-0/+5
2016-10-06Merge branch 'rs/cocci'Libravatar Junio C Hamano2-1/+37
2016-10-03Merge branch 'rs/copy-array'Libravatar Junio C Hamano1-0/+26
2016-10-03coccicheck: make transformation for strbuf_addf(sb, "...") more preciseLibravatar René Scharfe1-3/+26
2016-09-29remove unnecessary check before QSORTLibravatar René Scharfe1-0/+18
2016-09-29add QSORTLibravatar René Scharfe1-0/+19
2016-09-27use strbuf_add_unique_abbrev() for adding short hashes, part 2Libravatar René Scharfe1-0/+6
2016-09-27use strbuf_addstr() instead of strbuf_addf() with "%s", part 2Libravatar René Scharfe1-0/+6
2016-09-27gitignore: ignore output files of coccicheck make targetLibravatar René Scharfe1-0/+1
2016-09-25use COPY_ARRAYLibravatar René Scharfe1-0/+26
2016-09-15use strbuf_addstr() for adding constant strings to a strbuf, part 2Libravatar René Scharfe1-0/+5
2016-09-15contrib/coccinelle: fix semantic patch for oid_to_hex_r()Libravatar René Scharfe1-6/+6
2016-06-28contrib/coccinelle: add basic Coccinelle transformsLibravatar brian m. carlson2-0/+97