76 Commits (2d90add5ad216807ec1433e5367fae730e74a4cb)

Author SHA1 Message Date
Jeff King b32fa95fd8 convert trivial cases to ALLOC_ARRAY 9 years ago
Jeff King 02e32b7deb notes: document length of fanout path with a constant 9 years ago
Jeff King c29edfefb6 notes: use a strbuf in add_non_note 10 years ago
Michael Haggerty fd95035fdb string_list_add_one_ref(): rewrite to take an object_id argument 10 years ago
Michael Haggerty 2b2a5be394 each_ref_fn: change to take an object_id parameter 10 years ago
Jeff King 8c53f0719b use xstrdup_or_null to replace ternary conditionals 10 years ago
Michael Haggerty 3383e19984 sort_string_list(): rename to string_list_sort() 10 years ago
Johan Herland 8a4acd6995 notes: empty notes should be shown by 'git log' 10 years ago
Brian Gesiak 65bbf082c2 notes.c: rearrange xcalloc arguments 11 years ago
Christian Couder 5955654823 replace {pre,suf}fixcmp() with {starts,ends}_with() 11 years ago
Michael Haggerty 8c46bf904f string_list_add_refs_by_glob(): add a comment about memory management 12 years ago
Michael Haggerty d235e994f8 string_list_add_one_ref(): rename first parameter to "refname" 12 years ago
Michael Haggerty 6fa23773d2 string_list_add_refs_from_colon_sep(): use string_list_split() 12 years ago
Michael Haggerty 031954d443 notes: fix handling of colon-separated values 12 years ago
Michael Haggerty 1313524336 combine_notes_cat_sort_uniq(): sort and dedup lines all at once 12 years ago
Michael Haggerty f992f0c80f Initialize sort_uniq_list using named constant 12 years ago
Junio C Hamano 0e18bcd5e9 reencode_string(): introduce and use same_encoding() 12 years ago
Junio C Hamano 76141e2e62 format_note(): simplify API 12 years ago
Junio C Hamano 96531a5ede notes.c: mark a private file-scope symbol as static 13 years ago
Michael Haggerty 885b797a4a Do not use C++-style comments 14 years ago
Jeff King 3a03cf6b1d notes: refactor display notes default handling 14 years ago
Jeff King 304cc11c65 notes: refactor display notes extra refs field 14 years ago
Jeff King 03bb5789cd notes: make expand_notes_ref globally accessible 14 years ago
Johan Herland a6a09095a0 git notes merge: Add another auto-resolving strategy: "cat_sort_uniq" 14 years ago
Johan Herland d4990c4b2f notes.c: Use two newlines (instead of one) when concatenating notes 14 years ago
Johan Herland 180619a585 notes.h/c: Propagate combine_notes_fn return value to add_note() and beyond 14 years ago
Johan Herland e2656c82fd notes.h/c: Allow combine_notes functions to remove notes 14 years ago
Johan Herland a5cdebea55 notes.c: Reorder functions in preparation for next commit 14 years ago
Johan Herland 4a9cf1cefc notes.h: Make default_notes_ref() available in notes API 14 years ago
Johan Herland 327a89dca1 notes.c: Hexify SHA1 in die() message from init_notes() 14 years ago
Johan Herland 1ee1e43df3 notes: Don't create (empty) commit when removing non-existing notes 15 years ago
Alex Riesen 8a57c6e943 Convert the users of for_each_string_list to for_each_string_list_item macro 15 years ago
Ramsay Jones 89fe121d5f notes: Initialise variable to appease gcc 15 years ago
Julian Phillips 1d2f80fa79 string_list: Fix argument order for string_list_append 15 years ago
Julian Phillips b684e97736 string_list: Fix argument order for for_each_string_list 15 years ago
Michael J Gruber a9f2adff80 notes: dry-run and verbose options for prune 15 years ago
Brandon Casey a502ab9333 notes.c: remove inappropriate call to return 15 years ago
Thomas Rast 7f710ea982 notes: track whether notes_trees were changed at all 15 years ago
Thomas Rast 160baa0d9c notes: implement 'git notes copy --stdin' 15 years ago
Thomas Rast 894a9d333e Support showing notes from more than one notes tree 15 years ago
Junio C Hamano c88f0cc78e notes: fix malformed tree entry 15 years ago
Johan Herland 00fbe63627 Notes API: prune_notes(): Prune notes that belong to non-existing objects 15 years ago
Johan Herland 851c2b3791 Teach notes code to properly preserve non-notes in the notes tree 15 years ago
Johan Herland 73f464b5f3 Refactor notes concatenation into a flexible interface for combining notes 15 years ago
Johan Herland cd30539214 Notes API: Allow multiple concurrent notes trees with new struct notes_tree 15 years ago
Johan Herland 61a7cca0c6 Notes API: write_notes_tree(): Store the notes tree in the database 15 years ago
Johan Herland 73f77b909f Notes API: for_each_note(): Traverse the entire notes tree with a callback 15 years ago
Johan Herland 9b391f218a Notes API: get_note(): Return the note annotating the given object 15 years ago
Johan Herland 1ec666b092 Notes API: remove_note(): Remove note objects from the notes tree structure 15 years ago
Johan Herland 2626b53670 Notes API: add_note(): Add note objects to the internal notes tree structure 15 years ago