summary refs log tree commit diff
path: root/notes.c
AgeCommit message (Expand)AuthorFilesLines
2022-02-25object-file API: have write_object_file() take "enum object_type"Ævar Arnfjörð Bjarmason1-4/+4
2021-04-27hash: provide per-algorithm null OIDsbrian m. carlson1-1/+1
2021-04-27hash: set, copy, and use algo field in struct object_idbrian m. carlson1-0/+3
2021-04-27Always use oidread to read into struct object_idbrian m. carlson1-2/+2
2021-03-13use CALLOC_ARRAYRené Scharfe1-1/+1
2020-11-30Merge branch 'na/notes-displayref-is-not-boolean'Junio C Hamano1-1/+1
2020-11-23notes.c: fix a segfault in notes_display_config()Nate Avers1-1/+1
2020-02-17Merge branch 'rs/strbuf-insertstr'Junio C Hamano1-2/+2
2020-02-14Merge branch 'jh/notes-fanout-fix'Junio C Hamano1-8/+12
2020-02-10strbuf: add and use strbuf_insertstr()René Scharfe1-2/+2
2020-02-04notes.c: fix off-by-one error when decreasing notes fanoutJohan Herland1-8/+12
2020-01-31C: use skip_prefix() to avoid hardcoded string lengthJunio C Hamano1-4/+2
2019-12-25Merge branch 'dl/format-patch-notes-config-fixup'Junio C Hamano1-0/+33
2019-12-13notes: break set_display_notes() into smaller functionsDenton Liu1-20/+23
2019-12-09notes: extract logic into set_display_notes()Denton Liu1-0/+24
2019-12-09notes: create init_display_notes() helperDenton Liu1-0/+6
2019-12-09notes: rename to load_display_notes()Denton Liu1-1/+1
2019-09-30Merge branch 'mh/notes-duplicate-entries'Junio C Hamano1-2/+4
2019-08-26notes: avoid potential use-after-free during insertionJeff King1-1/+1
2019-08-26notes: avoid leaking duplicate entriesMike Hommey1-1/+3
2019-06-27tree-walk.c: remove the_repo from get_tree_entry()Nguyễn Thái Ngọc Duy1-1/+1
2019-06-27tree-walk.c: remove the_repo from fill_tree_descriptor()Nguyễn Thái Ngọc Duy1-1/+1
2019-05-09Merge branch 'en/merge-directory-renames'Junio C Hamano1-1/+1
2019-04-08Use 'unsigned short' for mode, like diff_filespec doesElijah Newren1-1/+1
2019-04-01notes: replace sha1_to_hexbrian m. carlson1-6/+6
2019-04-01notes: make hash size independentbrian m. carlson1-15/+17
2019-01-15tree-walk: store object_id in a separate memberbrian m. carlson1-2/+2
2018-08-29convert "oidcmp() != 0" to "!oideq()"Jeff King1-1/+1
2018-08-29convert "hashcmp() == 0" to hasheq()Jeff King1-1/+1
2018-08-29convert "oidcmp() == 0" to oideq()Jeff King1-2/+2
2018-05-16object-store: move object access functions to object-store.hStefan Beller1-0/+1
2018-03-14sha1_file: convert read_sha1_file to struct object_idbrian m. carlson1-4/+4
2018-03-14tree-walk: convert tree entry functions to object_idbrian m. carlson1-1/+1
2018-01-30sha1_file: convert write_sha1_file to object_idPatryk Obara1-5/+4
2018-01-30notes: convert write_notes_tree to object_idPatryk Obara1-7/+9
2018-01-30notes: convert combine_notes_* to object_idPatryk Obara1-23/+23
2017-11-09Merge branch 'rs/hex-to-bytes-cleanup'Junio C Hamano1-17/+0
2017-11-01notes: move hex_to_bytes() to hex.c and export itRené Scharfe1-17/+0
2017-10-16refs: convert read_ref and read_ref_full to object_idbrian m. carlson1-1/+1
2017-09-19Merge branch 'mh/notes-cleanup'Junio C Hamano1-71/+70
2017-09-09load_subtree(): check that `prefix_len` is in the expected rangeMichael Haggerty1-1/+4
2017-08-26load_subtree(): declare some variables to be `size_t`Michael Haggerty1-3/+3
2017-08-26hex_to_bytes(): simpler replacement for `get_oid_hex_segment()`Michael Haggerty1-18/+10
2017-08-26get_oid_hex_segment(): don't pad the rest of `oid`Michael Haggerty1-11/+13
2017-08-26load_subtree(): combine some common codeMichael Haggerty1-9/+5
2017-08-26get_oid_hex_segment(): return 0 on successMichael Haggerty1-8/+7
2017-08-26load_subtree(): only consider blobs to be potential notesMichael Haggerty1-0/+5
2017-08-26load_subtree(): check earlier whether an internal node is a tree entryMichael Haggerty1-2/+5
2017-08-26load_subtree(): separate logic for internal vs. terminal entriesMichael Haggerty1-21/+31
2017-08-26load_subtree(): fix incorrect commentMichael Haggerty1-17/+7