summaryrefslogtreecommitdiff
path: root/notes.c
Commit message (Expand)AuthorAgeFilesLines
* notes.c: rearrange xcalloc argumentsBrian Gesiak2014-05-271-3/+3
* replace {pre,suf}fixcmp() with {starts,ends}_with()cc/starts-n-ends-withChristian Couder2013-12-051-4/+4
* string_list_add_refs_by_glob(): add a comment about memory managementMichael Haggerty2013-06-021-0/+4
* string_list_add_one_ref(): rename first parameter to "refname"Michael Haggerty2013-06-021-3/+3
* Merge branch 'jc/prettier-pretty-note'Junio C Hamano2012-11-151-6/+7
|\
| * format_note(): simplify APIJunio C Hamano2012-10-171-6/+7
* | Merge branch 'mh/notes-string-list'Junio C Hamano2012-11-151-36/+25
|\ \
| * | string_list_add_refs_from_colon_sep(): use string_list_split()Michael Haggerty2012-11-081-13/+8
| * | notes: fix handling of colon-separated valuesMichael Haggerty2012-11-081-2/+2
| * | combine_notes_cat_sort_uniq(): sort and dedup lines all at onceMichael Haggerty2012-11-081-22/+16
| * | Initialize sort_uniq_list using named constantMichael Haggerty2012-11-081-1/+1
| |/
* | Merge branch 'jc/same-encoding'Junio C Hamano2012-11-151-1/+1
|\ \ | |/ |/|
| * reencode_string(): introduce and use same_encoding()Junio C Hamano2012-11-041-1/+1
* | notes.c: mark a private file-scope symbol as staticJunio C Hamano2012-09-151-2/+12
|/
* Do not use C++-style commentsMichael Haggerty2011-08-221-1/+1
* notes: refactor display notes default handlingJeff King2011-03-291-1/+2
* notes: refactor display notes extra refs fieldJeff King2011-03-291-2/+2
* notes: make expand_notes_ref globally accessibleJeff King2011-03-291-0/+10
* Merge branch 'jh/notes-merge'Junio C Hamano2010-12-081-92/+180
|\
| * git notes merge: Add another auto-resolving strategy: "cat_sort_uniq"Johan Herland2010-11-171-0/+76
| * notes.c: Use two newlines (instead of one) when concatenating notesJohan Herland2010-11-171-3/+4
| * notes.h/c: Propagate combine_notes_fn return value to add_note() and beyondJohan Herland2010-11-171-27/+28
| * notes.h/c: Allow combine_notes functions to remove notesJohan Herland2010-11-101-1/+11
| * notes.c: Reorder functions in preparation for next commitJohan Herland2010-11-101-73/+73
| * notes.h: Make default_notes_ref() available in notes APIJohan Herland2010-11-101-1/+1
| * notes.c: Hexify SHA1 in die() message from init_notes()Johan Herland2010-11-101-1/+1
* | notes: Don't create (empty) commit when removing non-existing notesJohan Herland2010-08-311-4/+10
* | Convert the users of for_each_string_list to for_each_string_list_item macroAlex Riesen2010-07-051-32/+14
|/
* Merge branch 'jp/string-list-api-cleanup'Junio C Hamano2010-06-301-6/+6
|\
| * string_list: Fix argument order for string_list_appendJulian Phillips2010-06-271-3/+3
| * string_list: Fix argument order for for_each_string_listJulian Phillips2010-06-271-3/+3
* | Merge branch 'maint'Junio C Hamano2010-06-281-1/+1
|\ \
| * | notes: Initialise variable to appease gccRamsay Jones2010-06-281-1/+1
| |/
* | notes: dry-run and verbose options for pruneMichael J Gruber2010-05-191-2/+5
|/
* Merge branch 'tr/notes-display'Junio C Hamano2010-03-241-7/+183
|\
| * notes: track whether notes_trees were changed at allThomas Rast2010-03-121-0/+3
| * notes: implement 'git notes copy --stdin'Thomas Rast2010-03-121-0/+18
| * Support showing notes from more than one notes treeThomas Rast2010-03-121-7/+162
* | notes.c: remove inappropriate call to returnBrandon Casey2010-03-201-1/+1
* | notes: fix malformed tree entryJunio C Hamano2010-02-241-2/+2
|/
* Notes API: prune_notes(): Prune notes that belong to non-existing objectsJohan Herland2010-02-131-0/+39
* Teach notes code to properly preserve non-notes in the notes treeJohan Herland2010-02-131-39/+180
* Refactor notes concatenation into a flexible interface for combining notesJohan Herland2010-02-131-58/+80
* Notes API: Allow multiple concurrent notes trees with new struct notes_treeJohan Herland2010-02-131-34/+56
* Notes API: write_notes_tree(): Store the notes tree in the databaseJohan Herland2010-02-131-0/+145
* Notes API: for_each_note(): Traverse the entire notes tree with a callbackJohan Herland2010-02-131-0/+133
* Notes API: get_note(): Return the note annotating the given objectJohan Herland2010-02-131-7/+8
* Notes API: remove_note(): Remove note objects from the notes tree structureJohan Herland2010-02-131-1/+84
* Notes API: add_note(): Add note objects to the internal notes tree structureJohan Herland2010-02-131-0/+11
* Notes API: init_notes(): Initialize the notes tree from the given notes refJohan Herland2010-02-131-12/+18