summaryrefslogtreecommitdiffstats
path: root/contrib/coccinelle (follow)
Commit message (Expand)AuthorAgeFilesLines
* Merge branch 'rs/xcalloc-takes-nelem-first'Junio C Hamano2021-03-191-0/+10
|\
| * fix xcalloc() argument orderRené Scharfe2021-03-081-0/+10
* | cocci: allow xcalloc(1, size)Junio C Hamano2021-03-161-1/+1
* | use CALLOC_ARRAYRené Scharfe2021-03-141-0/+8
|/
* commit: move members graph_pos, generation to a slabAbhishek Kumar2020-06-171-0/+18
* Merge branch 'jk/remove-sha1-to-hex'Junio C Hamano2019-12-011-32/+0
|\
| * hex: drop sha1_to_hex()Jeff King2019-11-131-15/+0
| * hex: drop sha1_to_hex_r()Jeff King2019-11-111-17/+0
* | Fix spelling errors in code commentsElijah Newren2019-11-101-1/+1
|/
* coccicheck: detect hashmap_entry.hash assignmentEric Wong2019-10-071-0/+16
* coccinelle: use COPY_ARRAY for copying arraysRené Scharfe2019-06-181-15/+46
* Merge branch 'nd/sha1-name-c-wo-the-repository'Junio C Hamano2019-05-081-7/+13
|\
| * commit.c: add repo_get_commit_tree()Nguyễn Thái Ngọc Duy2019-04-161-3/+3
| * commit.cocci: refactor code, avoid double rewriteNguyễn Thái Ngọc Duy2019-04-161-7/+13
* | cocci: FLEX_ALLOC_MEM to FLEX_ALLOC_STRDenton Liu2019-04-041-0/+13
|/
* Merge branch 'sg/strbuf-addbuf-cocci'Junio C Hamano2019-02-051-0/+30
|\
| * strbuf.cocci: suggest strbuf_addbuf() to add one strbuf to an otherSZEDER Gábor2019-01-281-0/+30
* | Merge branch 'sb/more-repo-in-api'Junio C Hamano2019-02-051-0/+144
|\ \
| * | pretty: prepare format_commit_message to handle arbitrary repositoriesStefan Beller2018-11-141-0/+10
| * | commit: prepare logmsg_reencode to handle arbitrary repositoriesStefan Beller2018-11-141-0/+9
| * | commit: prepare repo_unuse_commit_buffer to handle any repoStefan Beller2018-11-141-0/+8
| * | commit: prepare get_commit_buffer to handle any repoStefan Beller2018-11-141-0/+8
| * | commit-reach: prepare in_merge_bases[_many] to handle any repoStefan Beller2018-11-141-0/+17
| * | commit-reach: prepare get_merge_bases to handle any repoStefan Beller2018-11-141-0/+26
| * | commit: allow parse_commit* to handle any repoStefan Beller2018-11-141-0/+24
| * | object-store: prepare has_{sha1, object}_file to handle any repoStefan Beller2018-11-141-0/+30
| * | object-store: prepare read_object_file to deal with any repoStefan Beller2018-11-141-0/+12
* | | cache: make oidcpy always copy GIT_MAX_RAWSZ bytesbrian m. carlson2019-01-151-30/+0
| |/ |/|
* | coccicheck: introduce 'pending' semantic patchesSZEDER Gábor2018-11-141-0/+41
* | Merge branch 'jc/cocci-preincr'Junio C Hamano2018-10-301-0/+5
|\ \
| * | cocci: simplify "if (++u > 1)" to "if (u++)"Junio C Hamano2018-10-241-0/+5
* | | object_id.cocci: match only expressions of type 'struct object_id'SZEDER Gábor2018-10-151-54/+63
| |/ |/|
* | convert "hashcmp() != 0" to "!hasheq()"Jeff King2018-08-291-0/+9
* | convert "oidcmp() != 0" to "!oideq()"Jeff King2018-08-291-0/+6
* | convert "hashcmp() == 0" to hasheq()Jeff King2018-08-291-0/+9
* | convert "oidcmp() == 0" to oideq()Jeff King2018-08-291-0/+6
* | coccinelle: use <...> for function exclusionJeff King2018-08-292-12/+12
|/
* coccinelle: update commit.cocciDerrick Stolee2018-07-161-1/+1
* coccinelle: avoid wrong transformation suggestions from commit.cocciSZEDER Gábor2018-05-021-6/+4
* treewide: replace maybe_tree with accessor methodsDerrick Stolee2018-04-111-0/+30
* Merge branch 'rs/cocci-strbuf-addf-to-addstr'Junio C Hamano2018-02-151-16/+1
|\
| * cocci: simplify check for trivial format stringsRené Scharfe2018-02-021-16/+1
* | cocci: use format keyword instead of a literal stringRené Scharfe2018-01-191-1/+2
|/
* coccinelle: remove parentheses that become unnecessaryRené Scharfe2017-10-021-5/+5
* add MOVE_ARRAYRené Scharfe2017-07-171-0/+17
* coccinelle: polish FREE_AND_NULL rulesRené Scharfe2017-06-291-9/+1
* coccinelle: add a rule to make "expression" code use FREE_AND_NULL()Ævar Arnfjörð Bjarmason2017-06-161-0/+7
* coccinelle: add a rule to make "type" code use FREE_AND_NULL()Ævar Arnfjörð Bjarmason2017-06-161-0/+8
* Merge branch 'rs/strbuf-add-real-path'Junio C Hamano2017-03-102-0/+22
|\
| * strbuf: add strbuf_add_real_path()René Scharfe2017-02-271-0/+6