78 Commits (b524e896b64f90086d913eebccaff3cd76f96dee)

Author SHA1 Message Date
Junio C Hamano 1c57cc70ec cocci: allow xcalloc(1, size) 4 years ago
René Scharfe ca56dadb4b use CALLOC_ARRAY 4 years ago
René Scharfe 241b5d3ebe fix xcalloc() argument order 4 years ago
Abhishek Kumar c49c82aa4c commit: move members graph_pos, generation to a slab 5 years ago
Jeff King b19f3fe9dd hex: drop sha1_to_hex() 5 years ago
Jeff King aa6d7f93ed hex: drop sha1_to_hex_r() 5 years ago
Elijah Newren 15beaaa3d1 Fix spelling errors in code comments 5 years ago
Eric Wong 12878c8351 coccicheck: detect hashmap_entry.hash assignment 5 years ago
René Scharfe 177fbab747 coccinelle: use COPY_ARRAY for copying arrays 6 years ago
Nguyễn Thái Ngọc Duy 301b8c7f40 commit.c: add repo_get_commit_tree() 6 years ago
Nguyễn Thái Ngọc Duy a133c40b23 commit.cocci: refactor code, avoid double rewrite 6 years ago
Denton Liu 0cf2b0a04b cocci: FLEX_ALLOC_MEM to FLEX_ALLOC_STR 6 years ago
SZEDER Gábor 28c23cd4c3 strbuf.cocci: suggest strbuf_addbuf() to add one strbuf to an other 6 years ago
brian m. carlson 974e4a85e3 cache: make oidcpy always copy GIT_MAX_RAWSZ bytes 6 years ago
Jeff King 5d3679ee02 sha1-file: drop has_sha1_file() 6 years ago
Jeff King 98374a07c9 convert has_sha1_file() callers to has_object_file() 6 years ago
Stefan Beller f54fbf5eef pretty: prepare format_commit_message to handle arbitrary repositories 6 years ago
Stefan Beller 424510ed19 commit: prepare logmsg_reencode to handle arbitrary repositories 6 years ago
Stefan Beller 70315373ae commit: prepare repo_unuse_commit_buffer to handle any repo 6 years ago
Stefan Beller 07de3fd840 commit: prepare get_commit_buffer to handle any repo 6 years ago
Stefan Beller 4d5430f747 commit-reach: prepare in_merge_bases[_many] to handle any repo 6 years ago
Stefan Beller 21a9651ba3 commit-reach: prepare get_merge_bases to handle any repo 6 years ago
Stefan Beller 9e5252abd1 commit: allow parse_commit* to handle any repo 6 years ago
Stefan Beller 9b45f49981 object-store: prepare has_{sha1, object}_file to handle any repo 6 years ago
Stefan Beller afd69dcc21 object-store: prepare read_object_file to deal with any repo 6 years ago
SZEDER Gábor dd5d052c39 coccicheck: introduce 'pending' semantic patches 6 years ago
Junio C Hamano 05b4ed61f4 cocci: simplify "if (++u > 1)" to "if (u++)" 6 years ago
SZEDER Gábor 6afedba8c9 object_id.cocci: match only expressions of type 'struct object_id' 6 years ago
Jeff King 67947c34ae convert "hashcmp() != 0" to "!hasheq()" 6 years ago
Jeff King 9001dc2a74 convert "oidcmp() != 0" to "!oideq()" 6 years ago
Jeff King e3ff0683e2 convert "hashcmp() == 0" to hasheq() 6 years ago
Jeff King 4a7e27e957 convert "oidcmp() == 0" to oideq() 6 years ago
Jeff King 4d168e742a coccinelle: use <...> for function exclusion 6 years ago
Derrick Stolee b18ef13a3f coccinelle: update commit.cocci 7 years ago
SZEDER Gábor 279ffad17d coccinelle: avoid wrong transformation suggestions from commit.cocci 7 years ago
Derrick Stolee 2e27bd7731 treewide: replace maybe_tree with accessor methods 7 years ago
René Scharfe ae239fc8e5 cocci: simplify check for trivial format strings 7 years ago
René Scharfe cd9a4b6d93 cocci: use format keyword instead of a literal string 7 years ago
René Scharfe 9ca356fa8b coccinelle: remove parentheses that become unnecessary 7 years ago
René Scharfe 578398071e add MOVE_ARRAY 8 years ago
René Scharfe 76d8d45ffb coccinelle: polish FREE_AND_NULL rules 8 years ago
Ævar Arnfjörð Bjarmason 1b83d1251e coccinelle: add a rule to make "expression" code use FREE_AND_NULL() 8 years ago
Ævar Arnfjörð Bjarmason cf9f49ea48 coccinelle: add a rule to make "type" code use FREE_AND_NULL() 8 years ago
René Scharfe 33ad9ddd0b strbuf: add strbuf_add_real_path() 8 years ago
René Scharfe 3f64699ffd cocci: use ALLOC_ARRAY 8 years ago
René Scharfe ec6cd14c7a cocci: detect useless free(3) calls 8 years ago
René Scharfe 568edcb95a add SWAP macro 8 years ago
René Scharfe b1edb40f25 abspath: add absolute_pathdup() 8 years ago
René Scharfe c2bb0c1d1e cocci: avoid self-references in object_id transformations 8 years ago
Junio C Hamano 13092a916d cocci: refactor common patterns to use xstrdup_or_null() 8 years ago