summaryrefslogtreecommitdiff
path: root/notes.c
AgeCommit message (Expand)AuthorFilesLines
2021-04-27hash: provide per-algorithm null OIDsLibravatar brian m. carlson1-1/+1
2021-04-27hash: set, copy, and use algo field in struct object_idLibravatar brian m. carlson1-0/+3
2021-04-27Always use oidread to read into struct object_idLibravatar brian m. carlson1-2/+2
2021-03-13use CALLOC_ARRAYLibravatar René Scharfe1-1/+1
2020-11-30Merge branch 'na/notes-displayref-is-not-boolean'Libravatar Junio C Hamano1-1/+1
2020-11-23notes.c: fix a segfault in notes_display_config()Libravatar Nate Avers1-1/+1
2020-02-17Merge branch 'rs/strbuf-insertstr'Libravatar Junio C Hamano1-2/+2
2020-02-14Merge branch 'jh/notes-fanout-fix'Libravatar Junio C Hamano1-8/+12
2020-02-10strbuf: add and use strbuf_insertstr()Libravatar René Scharfe1-2/+2
2020-02-04notes.c: fix off-by-one error when decreasing notes fanoutLibravatar Johan Herland1-8/+12
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