152 Commits (4074d3c7e1a3b44c5c02235799d798f8b2613333)

Author SHA1 Message Date
Ævar Arnfjörð Bjarmason 5cf88fd8b0 git-compat-util.h: use "UNUSED", not "UNUSED(var)" 2 years ago
Jeff King 63e14ee2d6 refs: mark unused each_ref_fn parameters 2 years ago
Derrick Stolee b9342b3fd6 refs: add array of ref namespaces 2 years ago
Ævar Arnfjörð Bjarmason c80d226a04 object-file API: have write_object_file() take "enum object_type" 3 years ago
brian m. carlson 14228447c9 hash: provide per-algorithm null OIDs 4 years ago
brian m. carlson 5a6dce70d7 hash: set, copy, and use algo field in struct object_id 4 years ago
brian m. carlson 92e2cab96b Always use oidread to read into struct object_id 4 years ago
René Scharfe ca56dadb4b use CALLOC_ARRAY 4 years ago
Nate Avers c3eb95a0d7 notes.c: fix a segfault in notes_display_config() 4 years ago
René Scharfe a91cc7fad0 strbuf: add and use strbuf_insertstr() 5 years ago
Johan Herland dbc27477ff notes.c: fix off-by-one error when decreasing notes fanout 5 years ago
Junio C Hamano 145136a95a C: use skip_prefix() to avoid hardcoded string length 5 years ago
Denton Liu 1d7297513d notes: break set_display_notes() into smaller functions 5 years ago
Denton Liu 452538c358 notes: extract logic into set_display_notes() 5 years ago
Denton Liu e6e230eeae notes: create init_display_notes() helper 5 years ago
Denton Liu 1e6ed5441a notes: rename to load_display_notes() 5 years ago
Jeff King 60fe477a0b notes: avoid potential use-after-free during insertion 5 years ago
Mike Hommey 779ad6641b notes: avoid leaking duplicate entries 5 years ago
Nguyễn Thái Ngọc Duy 50ddb089ff tree-walk.c: remove the_repo from get_tree_entry() 5 years ago
Nguyễn Thái Ngọc Duy 5e57580733 tree-walk.c: remove the_repo from fill_tree_descriptor() 5 years ago
Elijah Newren 5ec1e72823 Use 'unsigned short' for mode, like diff_filespec does 6 years ago
brian m. carlson 0dbc6462ee notes: replace sha1_to_hex 6 years ago
brian m. carlson dd43745131 notes: make hash size independent 6 years ago
brian m. carlson ea82b2a085 tree-walk: store object_id in a separate member 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
Stefan Beller cbd53a2193 object-store: move object access functions to object-store.h 7 years ago
brian m. carlson b4f5aca40e sha1_file: convert read_sha1_file to struct object_id 7 years ago
brian m. carlson 916bc35b29 tree-walk: convert tree entry functions to object_id 7 years ago
Patryk Obara a09c985eae sha1_file: convert write_sha1_file to object_id 7 years ago
Patryk Obara bbca96d579 notes: convert write_notes_tree to object_id 7 years ago
Patryk Obara b7d591d17b notes: convert combine_notes_* to object_id 7 years ago
René Scharfe 0ec218656a notes: move hex_to_bytes() to hex.c and export it 7 years ago
brian m. carlson 34c290a6fc refs: convert read_ref and read_ref_full to object_id 7 years ago
Michael Haggerty 3964281524 load_subtree(): check that `prefix_len` is in the expected range 7 years ago
Michael Haggerty 06cfa75675 load_subtree(): declare some variables to be `size_t` 7 years ago
Michael Haggerty cfdc88f1a3 hex_to_bytes(): simpler replacement for `get_oid_hex_segment()` 7 years ago
Michael Haggerty d49852d6f8 get_oid_hex_segment(): don't pad the rest of `oid` 7 years ago
Michael Haggerty 4ebef533d7 load_subtree(): combine some common code 7 years ago
Michael Haggerty 67c9b42251 get_oid_hex_segment(): return 0 on success 7 years ago
Michael Haggerty 4043218795 load_subtree(): only consider blobs to be potential notes 7 years ago
Michael Haggerty 4d589b87e8 load_subtree(): check earlier whether an internal node is a tree entry 7 years ago
Michael Haggerty 98c9897d9e load_subtree(): separate logic for internal vs. terminal entries 7 years ago
Michael Haggerty cbeed9aaa5 load_subtree(): fix incorrect comment 7 years ago
Michael Haggerty a281639262 load_subtree(): reduce the scope of some local variables 7 years ago
Michael Haggerty d3b0c6bebf load_subtree(): remove unnecessary conditional 7 years ago
Michael Haggerty 65eb8e0ca7 notes: make GET_NIBBLE macro more robust 7 years ago
René Scharfe 5c377d3d59 tree-walk: convert fill_tree_descriptor() to object_id 7 years ago
brian m. carlson e82caf384b sha1_name: convert get_sha1* to get_oid* 7 years ago