| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | 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> | |||||
