summaryrefslogtreecommitdiff
path: root/include/git2/branch.h
Commit message (Collapse)AuthorAgeFilesLines
* branch: Change `git_branch_delete` to take a refbranch-delete-refVicent Marti2012-08-261-13/+3
|
* Merge remote-tracking branch 'arrbee/tree-walk-fixes' into developmentVicent Marti2012-08-061-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 libraryRussell Belfer2012-08-031-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 Marti2012-07-271-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()nulltoken2012-07-241-0/+16
| |
* | branch: make git_branch_move() reference basednulltoken2012-07-241-9/+4
| |
* | branch: slight git_branch_create() doc improvementnulltoken2012-07-241-2/+2
| |
* | branch: introduce git_branch_lookup()nulltoken2012-07-241-0/+24
| |
* | branch: change git_branch_create() to make it return a referencenulltoken2012-07-241-4/+3
|/
* branch: drop git_branch_list()nulltoken2012-06-211-24/+0
|
* branch: add git_branch_foreach()nulltoken2012-06-211-0/+25
|
* errors: Rename error codesbreaking-changesVicent Martí2012-05-181-2/+2
|
* errors: Rename the generic return codesVicent Martí2012-05-181-4/+4
|
* Properly tag all `enums` with a `_t`Vicent Martí2012-05-181-1/+1
|
* Typedefs don't have enum in frontCarlos Martín Nieto2012-04-111-1/+1
|
* branch: add git_branch_move()nulltoken2012-04-101-0/+22
|
* Add basic branch management API: git_branch_create(), git_branch_delete(), ↵nulltoken2012-04-101-6/+91
| | | | git_branch_list()
* Update Copyright headerschu2012-02-131-1/+1
| | | | Signed-off-by: schu <schu-github@schulog.org>
* Cleanup legal dataVicent Marti2011-09-191-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 APICarlos Martín Nieto2011-06-261-0/+9
Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>