Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | branch: Change `git_branch_delete` to take a refbranch-delete-ref | Vicent Marti | 2012-08-26 | 1 | -13/+3 |
| | |||||
* | Merge remote-tracking branch 'arrbee/tree-walk-fixes' into development | Vicent Marti | 2012-08-06 | 1 | -1/+3 |
|\ | | | | | | | | | | | | | | | | | Conflicts: src/notes.c src/transports/git.c src/transports/http.c src/transports/local.c tests-clar/odb/foreach.c | ||||
| * | Update iterators for consistency across library | Russell Belfer | 2012-08-03 | 1 | -1/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | branch: Add `repository` argument to `create` | Vicent Marti | 2012-07-27 | 1 | -0/+1 |
| | | | | | | | | | | Yes, we can get the repository from the owner of the object, but having it marked explicitly makes the API more consistent. | ||||
* | | branch: introduce git_branch_tracking() | nulltoken | 2012-07-24 | 1 | -0/+16 |
| | | |||||
* | | branch: make git_branch_move() reference based | nulltoken | 2012-07-24 | 1 | -9/+4 |
| | | |||||
* | | branch: slight git_branch_create() doc improvement | nulltoken | 2012-07-24 | 1 | -2/+2 |
| | | |||||
* | | branch: introduce git_branch_lookup() | nulltoken | 2012-07-24 | 1 | -0/+24 |
| | | |||||
* | | branch: change git_branch_create() to make it return a reference | nulltoken | 2012-07-24 | 1 | -4/+3 |
|/ | |||||
* | branch: drop git_branch_list() | nulltoken | 2012-06-21 | 1 | -24/+0 |
| | |||||
* | branch: add git_branch_foreach() | nulltoken | 2012-06-21 | 1 | -0/+25 |
| | |||||
* | errors: Rename error codesbreaking-changes | Vicent Martí | 2012-05-18 | 1 | -2/+2 |
| | |||||
* | errors: Rename the generic return codes | Vicent Martí | 2012-05-18 | 1 | -4/+4 |
| | |||||
* | Properly tag all `enums` with a `_t` | Vicent Martí | 2012-05-18 | 1 | -1/+1 |
| | |||||
* | Typedefs don't have enum in front | Carlos Martín Nieto | 2012-04-11 | 1 | -1/+1 |
| | |||||
* | branch: add git_branch_move() | nulltoken | 2012-04-10 | 1 | -0/+22 |
| | |||||
* | Add basic branch management API: git_branch_create(), git_branch_delete(), ↵ | nulltoken | 2012-04-10 | 1 | -6/+91 |
| | | | | git_branch_list() | ||||
* | Update Copyright header | schu | 2012-02-13 | 1 | -1/+1 |
| | | | | Signed-off-by: schu <schu-github@schulog.org> | ||||
* | Cleanup legal data | Vicent Marti | 2011-09-19 | 1 | -0/+6 |
| | | | | | | | | | | 1. The license header is technically not valid if it doesn't have a copyright signature. 2. The COPYING file has been updated with the different licenses used in the project. 3. The full GPLv2 header in each file annoys me. | ||||
* | Add a remotes API | Carlos Martín Nieto | 2011-06-26 | 1 | -0/+9 |
Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk> |