diff options
| author | nulltoken <emeric.fermas@gmail.com> | 2012-06-21 18:48:36 +0200 |
|---|---|---|
| committer | nulltoken <emeric.fermas@gmail.com> | 2012-06-21 18:51:32 +0200 |
| commit | d4827081ea3ed869c92fcc414bea81be7aa3edfe (patch) | |
| tree | 5485a4dfd904afadd58ed918f865fc3d51b6cae5 /include/git2/branch.h | |
| parent | a8fd805e2ff73a3825ddfe6f290774ef5a217972 (diff) | |
| download | libgit2-d4827081ea3ed869c92fcc414bea81be7aa3edfe.tar.gz | |
branch: drop git_branch_list()
Diffstat (limited to 'include/git2/branch.h')
| -rw-r--r-- | include/git2/branch.h | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/include/git2/branch.h b/include/git2/branch.h index f2239a207..8884df15a 100644 --- a/include/git2/branch.h +++ b/include/git2/branch.h @@ -72,30 +72,6 @@ GIT_EXTERN(int) git_branch_delete( git_branch_t branch_type); /** - * Fill a list with all the branches in the Repository - * - * The string array will be filled with the names of the - * matching branches; these values are owned by the user and - * should be free'd manually when no longer needed, using - * `git_strarray_free`. - * - * @param branch_names Pointer to a git_strarray structure - * where the branch names will be stored. - * - * @param repo Repository where to find the branches. - * - * @param list_flags Filtering flags for the branch - * listing. Valid values are GIT_BRANCH_LOCAL, GIT_BRANCH_REMOTE - * or a combination of the two. - * - * @return 0 or an error code. - */ -GIT_EXTERN(int) git_branch_list( - git_strarray *branch_names, - git_repository *repo, - unsigned int list_flags); - -/** * Loop over all the branches and issue a callback for each one. * * @param repo Repository where to find the branches. |
