summaryrefslogtreecommitdiff
path: root/contrib/coccinelle
AgeCommit message (Expand)Author
2019-10-07coccicheck: detect hashmap_entry.hash assignmentEric Wong
2019-06-18coccinelle: use COPY_ARRAY for copying arraysRené Scharfe
2019-05-08Merge branch 'nd/sha1-name-c-wo-the-repository'Junio C Hamano
2019-04-16commit.c: add repo_get_commit_tree()Nguyễn Thái Ngọc Duy
2019-04-16commit.cocci: refactor code, avoid double rewriteNguyễn Thái Ngọc Duy
2019-04-04cocci: FLEX_ALLOC_MEM to FLEX_ALLOC_STRDenton Liu
2019-02-05Merge branch 'sg/strbuf-addbuf-cocci'Junio C Hamano
2019-02-05Merge branch 'sb/more-repo-in-api'Junio C Hamano
2019-01-28strbuf.cocci: suggest strbuf_addbuf() to add one strbuf to an otherSZEDER Gábor
2019-01-15cache: make oidcpy always copy GIT_MAX_RAWSZ bytesbrian m. carlson
2018-11-14pretty: prepare format_commit_message to handle arbitrary repositoriesStefan Beller
2018-11-14commit: prepare logmsg_reencode to handle arbitrary repositoriesStefan Beller
2018-11-14commit: prepare repo_unuse_commit_buffer to handle any repoStefan Beller
2018-11-14commit: prepare get_commit_buffer to handle any repoStefan Beller
2018-11-14commit-reach: prepare in_merge_bases[_many] to handle any repoStefan Beller
2018-11-14commit-reach: prepare get_merge_bases to handle any repoStefan Beller
2018-11-14commit: allow parse_commit* to handle any repoStefan Beller
2018-11-14object-store: prepare has_{sha1, object}_file to handle any repoStefan Beller
2018-11-14object-store: prepare read_object_file to deal with any repoStefan Beller
2018-11-14coccicheck: introduce 'pending' semantic patchesSZEDER Gábor
2018-10-30Merge branch 'jc/cocci-preincr'Junio C Hamano
2018-10-24cocci: simplify "if (++u > 1)" to "if (u++)"Junio C Hamano
2018-10-15object_id.cocci: match only expressions of type 'struct object_id'SZEDER Gábor
2018-08-29convert "hashcmp() != 0" to "!hasheq()"Jeff King
2018-08-29convert "oidcmp() != 0" to "!oideq()"Jeff King
2018-08-29convert "hashcmp() == 0" to hasheq()Jeff King
2018-08-29convert "oidcmp() == 0" to oideq()Jeff King
2018-08-29coccinelle: use <...> for function exclusionJeff King
2018-07-16coccinelle: update commit.cocciDerrick Stolee
2018-05-02coccinelle: avoid wrong transformation suggestions from commit.cocciSZEDER Gábor
2018-04-11treewide: replace maybe_tree with accessor methodsDerrick Stolee
2018-02-15Merge branch 'rs/cocci-strbuf-addf-to-addstr'Junio C Hamano
2018-02-02cocci: simplify check for trivial format stringsRené Scharfe
2018-01-19cocci: use format keyword instead of a literal stringRené Scharfe
2017-10-02coccinelle: remove parentheses that become unnecessaryRené Scharfe
2017-07-17add MOVE_ARRAYRené Scharfe
2017-06-29coccinelle: polish FREE_AND_NULL rulesRené Scharfe
2017-06-16coccinelle: add a rule to make "expression" code use FREE_AND_NULL()Ævar Arnfjörð Bjarmason
2017-06-16coccinelle: add a rule to make "type" code use FREE_AND_NULL()Ævar Arnfjörð Bjarmason
2017-03-10Merge branch 'rs/strbuf-add-real-path'Junio C Hamano
2017-02-27strbuf: add strbuf_add_real_path()René Scharfe
2017-02-27cocci: use ALLOC_ARRAYRené Scharfe
2017-02-16Merge branch 'rs/cocci-check-free-only-null'Junio C Hamano
2017-02-15Merge branch 'rs/swap'Junio C Hamano
2017-02-11cocci: detect useless free(3) callsRené Scharfe
2017-02-02Merge branch 'rs/absolute-pathdup'Junio C Hamano
2017-01-30add SWAP macroRené Scharfe
2017-01-26abspath: add absolute_pathdup()René Scharfe
2016-11-01Merge branch 'rs/cocci'Junio C Hamano
2016-11-01cocci: avoid self-references in object_id transformationsRené Scharfe