135 Commits (145d59f48233c64cb8a9262c9f1451cc7d66b530)

Author SHA1 Message Date
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 6 years ago
Mike Hommey 779ad6641b notes: avoid leaking duplicate entries 6 years ago
Nguyễn Thái Ngọc Duy 50ddb089ff tree-walk.c: remove the_repo from get_tree_entry() 6 years ago
Nguyễn Thái Ngọc Duy 5e57580733 tree-walk.c: remove the_repo from fill_tree_descriptor() 6 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()" 7 years ago
Jeff King e3ff0683e2 convert "hashcmp() == 0" to hasheq() 7 years ago
Jeff King 4a7e27e957 convert "oidcmp() == 0" to oideq() 7 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 8 years ago
Michael Haggerty 06cfa75675 load_subtree(): declare some variables to be `size_t` 8 years ago
Michael Haggerty cfdc88f1a3 hex_to_bytes(): simpler replacement for `get_oid_hex_segment()` 8 years ago
Michael Haggerty d49852d6f8 get_oid_hex_segment(): don't pad the rest of `oid` 8 years ago
Michael Haggerty 4ebef533d7 load_subtree(): combine some common code 8 years ago
Michael Haggerty 67c9b42251 get_oid_hex_segment(): return 0 on success 8 years ago
Michael Haggerty 4043218795 load_subtree(): only consider blobs to be potential notes 8 years ago
Michael Haggerty 4d589b87e8 load_subtree(): check earlier whether an internal node is a tree entry 8 years ago
Michael Haggerty 98c9897d9e load_subtree(): separate logic for internal vs. terminal entries 8 years ago
Michael Haggerty cbeed9aaa5 load_subtree(): fix incorrect comment 8 years ago
Michael Haggerty a281639262 load_subtree(): reduce the scope of some local variables 8 years ago
Michael Haggerty d3b0c6bebf load_subtree(): remove unnecessary conditional 8 years ago
Michael Haggerty 65eb8e0ca7 notes: make GET_NIBBLE macro more robust 8 years ago
René Scharfe 5c377d3d59 tree-walk: convert fill_tree_descriptor() to object_id 8 years ago
brian m. carlson e82caf384b sha1_name: convert get_sha1* to get_oid* 8 years ago
Brandon Williams b2141fc1d2 config: don't include config.h by default 8 years ago
brian m. carlson 5ee8a954e0 notes: convert some accessor functions to struct object_id 8 years ago
brian m. carlson fb61e4d3ab notes: convert format_display_notes to struct object_id 8 years ago
brian m. carlson 9ef7223058 notes: make get_note return pointer to struct object_id 8 years ago
brian m. carlson 490bc83a01 notes: convert for_each_note to struct object_id 8 years ago
brian m. carlson 89c149f55b notes: convert internal parts to struct object_id 8 years ago
brian m. carlson 5dcc969e79 notes: convert internal structures to struct object_id 8 years ago
Mike Hommey 5a8e7c3466 notes: do not break note_tree structure in note_tree_consolidate() 8 years ago
brian m. carlson 13ac141038 notes: convert init_notes to use struct object_id 9 years ago
Jeff King 2721ce21e4 use string_list initializer consistently 9 years ago
brian m. carlson 7d924c9139 struct name_entry: use struct object_id instead of unsigned char sha1[20] 9 years ago
Jeff King b32fa95fd8 convert trivial cases to ALLOC_ARRAY 9 years ago