summaryrefslogtreecommitdiff
path: root/notes.c
AgeCommit message (Expand)AuthorFilesLines
2015-09-04notes: use a strbuf in add_non_noteLibravatar Jeff King1-9/+10
2014-05-27notes.c: rearrange xcalloc argumentsLibravatar Brian Gesiak1-3/+3
2013-12-05replace {pre,suf}fixcmp() with {starts,ends}_with()Libravatar Christian Couder1-4/+4
2013-06-02string_list_add_refs_by_glob(): add a comment about memory managementLibravatar Michael Haggerty1-0/+4
2013-06-02string_list_add_one_ref(): rename first parameter to "refname"Libravatar Michael Haggerty1-3/+3
2012-11-15Merge branch 'jc/prettier-pretty-note'Libravatar Junio C Hamano1-6/+7
2012-11-15Merge branch 'mh/notes-string-list'Libravatar Junio C Hamano1-36/+25
2012-11-15Merge branch 'jc/same-encoding'Libravatar Junio C Hamano1-1/+1
2012-11-08string_list_add_refs_from_colon_sep(): use string_list_split()Libravatar Michael Haggerty1-13/+8
2012-11-08notes: fix handling of colon-separated valuesLibravatar Michael Haggerty1-2/+2
2012-11-08combine_notes_cat_sort_uniq(): sort and dedup lines all at onceLibravatar Michael Haggerty1-22/+16
2012-11-08Initialize sort_uniq_list using named constantLibravatar Michael Haggerty1-1/+1
2012-11-04reencode_string(): introduce and use same_encoding()Libravatar Junio C Hamano1-1/+1
2012-10-17format_note(): simplify APILibravatar Junio C Hamano1-6/+7
2012-09-15notes.c: mark a private file-scope symbol as staticLibravatar Junio C Hamano1-2/+12
2011-08-22Do not use C++-style commentsLibravatar Michael Haggerty1-1/+1
2011-03-29notes: refactor display notes default handlingLibravatar Jeff King1-1/+2
2011-03-29notes: refactor display notes extra refs fieldLibravatar Jeff King1-2/+2
2011-03-29notes: make expand_notes_ref globally accessibleLibravatar Jeff King1-0/+10
2010-12-08Merge branch 'jh/notes-merge'Libravatar Junio C Hamano1-92/+180
2010-11-17git notes merge: Add another auto-resolving strategy: "cat_sort_uniq"Libravatar Johan Herland1-0/+76
2010-11-17notes.c: Use two newlines (instead of one) when concatenating notesLibravatar Johan Herland1-3/+4
2010-11-17notes.h/c: Propagate combine_notes_fn return value to add_note() and beyondLibravatar Johan Herland1-27/+28
2010-11-10notes.h/c: Allow combine_notes functions to remove notesLibravatar Johan Herland1-1/+11
2010-11-10notes.c: Reorder functions in preparation for next commitLibravatar Johan Herland1-73/+73
2010-11-10notes.h: Make default_notes_ref() available in notes APILibravatar Johan Herland1-1/+1
2010-11-10notes.c: Hexify SHA1 in die() message from init_notes()Libravatar Johan Herland1-1/+1
2010-08-31notes: Don't create (empty) commit when removing non-existing notesLibravatar Johan Herland1-4/+10
2010-07-05Convert the users of for_each_string_list to for_each_string_list_item macroLibravatar Alex Riesen1-32/+14
2010-06-30Merge branch 'jp/string-list-api-cleanup'Libravatar Junio C Hamano1-6/+6
2010-06-28Merge branch 'maint'Libravatar Junio C Hamano1-1/+1
2010-06-28notes: Initialise variable to appease gccLibravatar Ramsay Jones1-1/+1
2010-06-27string_list: Fix argument order for string_list_appendLibravatar Julian Phillips1-3/+3
2010-06-27string_list: Fix argument order for for_each_string_listLibravatar Julian Phillips1-3/+3
2010-05-19notes: dry-run and verbose options for pruneLibravatar Michael J Gruber1-2/+5
2010-03-24Merge branch 'tr/notes-display'Libravatar Junio C Hamano1-7/+183
2010-03-20notes.c: remove inappropriate call to returnLibravatar Brandon Casey1-1/+1
2010-03-12notes: track whether notes_trees were changed at allLibravatar Thomas Rast1-0/+3
2010-03-12notes: implement 'git notes copy --stdin'Libravatar Thomas Rast1-0/+18
2010-03-12Support showing notes from more than one notes treeLibravatar Thomas Rast1-7/+162
2010-02-24notes: fix malformed tree entryLibravatar Junio C Hamano1-2/+2
2010-02-13Notes API: prune_notes(): Prune notes that belong to non-existing objectsLibravatar Johan Herland1-0/+39
2010-02-13Teach notes code to properly preserve non-notes in the notes treeLibravatar Johan Herland1-39/+180
2010-02-13Refactor notes concatenation into a flexible interface for combining notesLibravatar Johan Herland1-58/+80
2010-02-13Notes API: Allow multiple concurrent notes trees with new struct notes_treeLibravatar Johan Herland1-34/+56
2010-02-13Notes API: write_notes_tree(): Store the notes tree in the databaseLibravatar Johan Herland1-0/+145
2010-02-13Notes API: for_each_note(): Traverse the entire notes tree with a callbackLibravatar Johan Herland1-0/+133
2010-02-13Notes API: get_note(): Return the note annotating the given objectLibravatar Johan Herland1-7/+8
2010-02-13Notes API: remove_note(): Remove note objects from the notes tree structureLibravatar Johan Herland1-1/+84
2010-02-13Notes API: add_note(): Add note objects to the internal notes tree structureLibravatar Johan Herland1-0/+11