summaryrefslogtreecommitdiff
path: root/notes.c
Commit message (Expand)AuthorAgeFilesLines
* Merge branch 'ab/unused-annotation'Junio C Hamano2022-09-141-2/+2
|\
| * git-compat-util.h: use "UNUSED", not "UNUSED(var)"Ævar Arnfjörð Bjarmason2022-09-011-2/+2
* | Merge branch 'jk/unused-annotation'Junio C Hamano2022-09-141-2/+3
|\ \ | |/
| * refs: mark unused each_ref_fn parametersJeff King2022-08-191-2/+3
* | refs: add array of ref namespacesDerrick Stolee2022-08-051-0/+1
|/
* object-file API: have write_object_file() take "enum object_type"Ævar Arnfjörð Bjarmason2022-02-251-4/+4
* hash: provide per-algorithm null OIDsbrian m. carlson2021-04-271-1/+1
* hash: set, copy, and use algo field in struct object_idbrian m. carlson2021-04-271-0/+3
* Always use oidread to read into struct object_idbrian m. carlson2021-04-271-2/+2
* use CALLOC_ARRAYRené Scharfe2021-03-131-1/+1
* Merge branch 'na/notes-displayref-is-not-boolean'Junio C Hamano2020-11-301-1/+1
|\
| * notes.c: fix a segfault in notes_display_config()Nate Avers2020-11-231-1/+1
* | Merge branch 'rs/strbuf-insertstr'Junio C Hamano2020-02-171-2/+2
|\ \
| * | strbuf: add and use strbuf_insertstr()René Scharfe2020-02-101-2/+2
* | | Merge branch 'jh/notes-fanout-fix'Junio C Hamano2020-02-141-8/+12
|\ \ \
| * | | notes.c: fix off-by-one error when decreasing notes fanoutJohan Herland2020-02-041-8/+12
| | |/ | |/|
* | | C: use skip_prefix() to avoid hardcoded string lengthJunio C Hamano2020-01-311-4/+2
| |/ |/|
* | Merge branch 'dl/format-patch-notes-config-fixup'Junio C Hamano2019-12-251-0/+33
|\ \ | |/ |/|
| * notes: break set_display_notes() into smaller functionsDenton Liu2019-12-131-20/+23
| * notes: extract logic into set_display_notes()Denton Liu2019-12-091-0/+24
| * notes: create init_display_notes() helperDenton Liu2019-12-091-0/+6
| * notes: rename to load_display_notes()Denton Liu2019-12-091-1/+1
* | Merge branch 'mh/notes-duplicate-entries'Junio C Hamano2019-09-301-2/+4
|\ \
| * | notes: avoid potential use-after-free during insertionJeff King2019-08-261-1/+1
| * | notes: avoid leaking duplicate entriesMike Hommey2019-08-261-1/+3
| |/
* | tree-walk.c: remove the_repo from get_tree_entry()Nguyễn Thái Ngọc Duy2019-06-271-1/+1
* | tree-walk.c: remove the_repo from fill_tree_descriptor()Nguyễn Thái Ngọc Duy2019-06-271-1/+1
|/
* Merge branch 'en/merge-directory-renames'Junio C Hamano2019-05-091-1/+1
|\
| * Use 'unsigned short' for mode, like diff_filespec doesElijah Newren2019-04-081-1/+1
* | notes: replace sha1_to_hexbrian m. carlson2019-04-011-6/+6
* | notes: make hash size independentbrian m. carlson2019-04-011-15/+17
|/
* tree-walk: store object_id in a separate memberbrian m. carlson2019-01-151-2/+2
* convert "oidcmp() != 0" to "!oideq()"Jeff King2018-08-291-1/+1
* convert "hashcmp() == 0" to hasheq()Jeff King2018-08-291-1/+1
* convert "oidcmp() == 0" to oideq()Jeff King2018-08-291-2/+2
* object-store: move object access functions to object-store.hStefan Beller2018-05-161-0/+1
* sha1_file: convert read_sha1_file to struct object_idbrian m. carlson2018-03-141-4/+4
* tree-walk: convert tree entry functions to object_idbrian m. carlson2018-03-141-1/+1
* sha1_file: convert write_sha1_file to object_idPatryk Obara2018-01-301-5/+4
* notes: convert write_notes_tree to object_idPatryk Obara2018-01-301-7/+9
* notes: convert combine_notes_* to object_idPatryk Obara2018-01-301-23/+23
* Merge branch 'rs/hex-to-bytes-cleanup'Junio C Hamano2017-11-091-17/+0
|\
| * notes: move hex_to_bytes() to hex.c and export itRené Scharfe2017-11-011-17/+0
* | refs: convert read_ref and read_ref_full to object_idbrian m. carlson2017-10-161-1/+1
|/
* Merge branch 'mh/notes-cleanup'Junio C Hamano2017-09-191-71/+70
|\
| * load_subtree(): check that `prefix_len` is in the expected rangemh/notes-cleanupMichael Haggerty2017-09-091-1/+4
| * load_subtree(): declare some variables to be `size_t`Michael Haggerty2017-08-261-3/+3
| * hex_to_bytes(): simpler replacement for `get_oid_hex_segment()`Michael Haggerty2017-08-261-18/+10
| * get_oid_hex_segment(): don't pad the rest of `oid`Michael Haggerty2017-08-261-11/+13
| * load_subtree(): combine some common codeMichael Haggerty2017-08-261-9/+5