Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | note: use a git_buf to return the default namespacecmn/notes-buf | Carlos Martín Nieto | 2015-03-17 | 1 | -2/+2 |
| | | | | | | | The caller has otherwise no way to know how long the string will be allocated or ability to free it. This fixes #2944. | ||||
* | notes: fix comments for git_note_next()cmn/notes-consistency | Carlos Martín Nieto | 2014-12-06 | 1 | -4/+2 |
| | | | | | The iterator is the last argument. There is also no returned notes, just ids, so the comment about freeing is out of place. | ||||
* | notes: move the notes name argument | Carlos Martín Nieto | 2014-12-06 | 1 | -3/+3 |
| | | | | | Make it consistent between git_note_create() and git_note_remote() by putting it after the repository. | ||||
* | Introduce `git_note_author`, `git_note_committer` | Edward Thomson | 2014-10-26 | 1 | -0/+17 |
| | |||||
* | note: rename the id getter to git_note_id() | Carlos Martín Nieto | 2014-01-24 | 1 | -3/+3 |
| | | | | This was left over when we did the general switch. | ||||
* | Update docs for new callback return value behavior | Russell Belfer | 2013-12-11 | 1 | -1/+1 |
| | |||||
* | Clean up some documentation | Carlos Martín Nieto | 2013-07-23 | 1 | -2/+2 |
| | | | | clang's docparser highlighted these. | ||||
* | fixed minor issues with new note iterator | Nico von Geyso | 2013-03-06 | 1 | -2/+4 |
| | | | | | * fixed style issues * use new iterator functions for git_note_foreach() | ||||
* | use git_note_iterator type instead of non-public git_iterator one | Nico von Geyso | 2013-03-06 | 1 | -3/+10 |
| | |||||
* | basic note iterator implementation | Nico von Geyso | 2013-03-06 | 1 | -0/+39 |
| | | | | | * git_note_iterator_new() - create a new note iterator * git_note_next() - retrieves the next item of the iterator | ||||
* | update copyrights | Edward Thomson | 2013-01-08 | 1 | -1/+1 |
| | |||||
* | add option to allow git note overwrite | Nikolai Vladimirov | 2013-01-03 | 1 | -1/+3 |
| | |||||
* | Remove git_note_data structure | Russell Belfer | 2012-11-27 | 1 | -14/+8 |
| | |||||
* | API updates for notes.h/c. | Ben Straub | 2012-11-27 | 1 | -26/+41 |
| | |||||
* | notes: slight documentation enhancements | nulltoken | 2012-08-15 | 1 | -12/+14 |
| | |||||
* | Merge pull request #871 from joshtriplett/fix-note_foreach-docs | Vicent Martí | 2012-08-13 | 1 | -1/+1 |
|\ | | | | | git_note_foreach: Fix documentation for notes_ref parameter | ||||
| * | git_note_foreach: Fix documentation for notes_ref parameter | Josh Triplett | 2012-08-12 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #870 from joshtriplett/fix-note_create-docs | Vicent Martí | 2012-08-13 | 1 | -2/+2 |
|\ \ | | | | | | | git_note_oid: Fix the documentation to reference parameters using the correct names | ||||
| * | | git_note_oid: Fix the documentation to reference parameters using the ↵ | Josh Triplett | 2012-08-12 | 1 | -2/+2 |
| |/ | | | | | | | correct names | ||||
* | | git_note_remove: Copyediting on documentation for the oid parameter | Josh Triplett | 2012-08-12 | 1 | -1/+1 |
|/ | |||||
* | Update iterators for consistency across library | Russell Belfer | 2012-08-03 | 1 | -7/+9 |
| | | | | | | | | | | | | | | | | | This updates all the `foreach()` type functions across the library that take callbacks from the user to have a consistent behavior. The rules are: * A callback terminates the loop by returning any non-zero value * Once the callback returns non-zero, it will not be called again (i.e. the loop stops all iteration regardless of state) * If the callback returns non-zero, the parent fn returns GIT_EUSER * Although the parent returns GIT_EUSER, no error will be set in the library and `giterr_last()` will return NULL if called. This commit makes those changes across the library and adds tests for most of the iteration APIs to make sure that they follow the above rules. | ||||
* | errors: Rename the generic return codes | Vicent Martí | 2012-05-18 | 1 | -5/+5 |
| | |||||
* | notes: make git_note_foreach() callback signature easier to cope with from a ↵ | nulltoken | 2012-05-16 | 1 | -1/+12 |
| | | | | binding perspective | ||||
* | notes: add git_notes_foreach() | nulltoken | 2012-05-14 | 1 | -0/+21 |
| | |||||
* | notes: add git_note_default_ref() | Michael Schubert | 2012-05-03 | 1 | -0/+10 |
| | | | | | Add git_note_default_ref to allow easy retrieval of the currently set default notes reference. | ||||
* | Add git notes API | schu | 2012-02-15 | 1 | -0/+97 |
This commit adds basic git notes support to libgit2, namely: * git_note_read * git_note_message * git_note_oid * git_note_create * git_note_remove In the long run, we probably want to provide some convenience callback mechanism for merging and moving (filter-branch) notes. Signed-off-by: schu <schu-github@schulog.org> |