summaryrefslogtreecommitdiff
path: root/contrib/coccinelle
AgeCommit message (Expand)Author
2021-09-10index-pack: use xopen in init_threadRené Scharfe
2021-08-25use xopen() to handle fatal open(2) failuresRené Scharfe
2021-03-19Merge branch 'rs/xcalloc-takes-nelem-first'Junio C Hamano
2021-03-16cocci: allow xcalloc(1, size)Junio C Hamano
2021-03-14use CALLOC_ARRAYRené Scharfe
2021-03-08fix xcalloc() argument orderRené Scharfe
2020-06-17commit: move members graph_pos, generation to a slabAbhishek Kumar
2019-12-01Merge branch 'jk/remove-sha1-to-hex'Junio C Hamano
2019-11-13hex: drop sha1_to_hex()Jeff King
2019-11-11hex: drop sha1_to_hex_r()Jeff King
2019-11-10Fix spelling errors in code commentsElijah Newren
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