summaryrefslogtreecommitdiff
path: root/notes.c
AgeCommit message (Expand)AuthorFilesLines
2020-01-31C: use skip_prefix() to avoid hardcoded string lengthLibravatar Junio C Hamano1-4/+2
2019-12-25Merge branch 'dl/format-patch-notes-config-fixup'Libravatar Junio C Hamano1-0/+33
2019-12-13notes: break set_display_notes() into smaller functionsLibravatar Denton Liu1-20/+23
2019-12-09notes: extract logic into set_display_notes()Libravatar Denton Liu1-0/+24
2019-12-09notes: create init_display_notes() helperLibravatar Denton Liu1-0/+6
2019-12-09notes: rename to load_display_notes()Libravatar Denton Liu1-1/+1
2019-09-30Merge branch 'mh/notes-duplicate-entries'Libravatar Junio C Hamano1-2/+4
2019-08-26notes: avoid potential use-after-free during insertionLibravatar Jeff King1-1/+1
2019-08-26notes: avoid leaking duplicate entriesLibravatar Mike Hommey1-1/+3
2019-06-27tree-walk.c: remove the_repo from get_tree_entry()Libravatar Nguyễn Thái Ngọc Duy1-1/+1
2019-06-27tree-walk.c: remove the_repo from fill_tree_descriptor()Libravatar Nguyễn Thái Ngọc Duy1-1/+1
2019-05-09Merge branch 'en/merge-directory-renames'Libravatar Junio C Hamano1-1/+1
2019-04-08Use 'unsigned short' for mode, like diff_filespec doesLibravatar Elijah Newren1-1/+1
2019-04-01notes: replace sha1_to_hexLibravatar brian m. carlson1-6/+6
2019-04-01notes: make hash size independentLibravatar brian m. carlson1-15/+17
2019-01-15tree-walk: store object_id in a separate memberLibravatar brian m. carlson1-2/+2
2018-08-29convert "oidcmp() != 0" to "!oideq()"Libravatar Jeff King1-1/+1
2018-08-29convert "hashcmp() == 0" to hasheq()Libravatar Jeff King1-1/+1
2018-08-29convert "oidcmp() == 0" to oideq()Libravatar Jeff King1-2/+2
2018-05-16object-store: move object access functions to object-store.hLibravatar Stefan Beller1-0/+1
2018-03-14sha1_file: convert read_sha1_file to struct object_idLibravatar brian m. carlson1-4/+4
2018-03-14tree-walk: convert tree entry functions to object_idLibravatar brian m. carlson1-1/+1
2018-01-30sha1_file: convert write_sha1_file to object_idLibravatar Patryk Obara1-5/+4
2018-01-30notes: convert write_notes_tree to object_idLibravatar Patryk Obara1-7/+9
2018-01-30notes: convert combine_notes_* to object_idLibravatar Patryk Obara1-23/+23
2017-11-09Merge branch 'rs/hex-to-bytes-cleanup'Libravatar Junio C Hamano1-17/+0
2017-11-01notes: move hex_to_bytes() to hex.c and export itLibravatar René Scharfe1-17/+0
2017-10-16refs: convert read_ref and read_ref_full to object_idLibravatar brian m. carlson1-1/+1
2017-09-19Merge branch 'mh/notes-cleanup'Libravatar Junio C Hamano1-71/+70
2017-09-09load_subtree(): check that `prefix_len` is in the expected rangeLibravatar Michael Haggerty1-1/+4
2017-08-26load_subtree(): declare some variables to be `size_t`Libravatar Michael Haggerty1-3/+3
2017-08-26hex_to_bytes(): simpler replacement for `get_oid_hex_segment()`Libravatar Michael Haggerty1-18/+10
2017-08-26get_oid_hex_segment(): don't pad the rest of `oid`Libravatar Michael Haggerty1-11/+13
2017-08-26load_subtree(): combine some common codeLibravatar Michael Haggerty1-9/+5
2017-08-26get_oid_hex_segment(): return 0 on successLibravatar Michael Haggerty1-8/+7
2017-08-26load_subtree(): only consider blobs to be potential notesLibravatar Michael Haggerty1-0/+5
2017-08-26load_subtree(): check earlier whether an internal node is a tree entryLibravatar Michael Haggerty1-2/+5
2017-08-26load_subtree(): separate logic for internal vs. terminal entriesLibravatar Michael Haggerty1-21/+31
2017-08-26load_subtree(): fix incorrect commentLibravatar Michael Haggerty1-17/+7
2017-08-26load_subtree(): reduce the scope of some local variablesLibravatar Michael Haggerty1-4/+4
2017-08-26load_subtree(): remove unnecessary conditionalLibravatar Michael Haggerty1-18/+17
2017-08-26notes: make GET_NIBBLE macro more robustLibravatar Michael Haggerty1-1/+1
2017-08-14tree-walk: convert fill_tree_descriptor() to object_idLibravatar René Scharfe1-1/+1
2017-07-17sha1_name: convert get_sha1* to get_oid*Libravatar brian m. carlson1-1/+1
2017-06-24Merge branch 'bw/config-h'Libravatar Junio C Hamano1-0/+1
2017-06-15config: don't include config.h by defaultLibravatar Brandon Williams1-0/+1
2017-06-02notes: convert some accessor functions to struct object_idLibravatar brian m. carlson1-10/+10
2017-06-02notes: convert format_display_notes to struct object_idLibravatar brian m. carlson1-4/+4
2017-06-02notes: make get_note return pointer to struct object_idLibravatar brian m. carlson1-9/+9
2017-06-02notes: convert for_each_note to struct object_idLibravatar brian m. carlson1-12/+12