Skip to content

Commit

Permalink
Clarify return types from Repository.{create,lookup}_branch()
Browse files Browse the repository at this point in the history
  • Loading branch information
djmattyg007 committed Aug 23, 2014
1 parent 4a53b2c commit 21efebd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/repository.c
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ Repository_git_object_lookup_prefix(Repository *self, PyObject *key)


PyDoc_STRVAR(Repository_lookup_branch__doc__,
"lookup_branch(branch_name, [branch_type]) -> Object\n"
"lookup_branch(branch_name, [branch_type]) -> Branch\n"
"\n"
"Returns the Git reference for the given branch name (local or remote).\n"
"If branch_type is GIT_BRANCH_REMOTE, you must include the remote name\n"
Expand Down Expand Up @@ -895,7 +895,7 @@ Repository_create_tag(Repository *self, PyObject *args)


PyDoc_STRVAR(Repository_create_branch__doc__,
"create_branch(name, commit, force=False) -> bytes\n"
"create_branch(name, commit, force=False) -> Branch\n"
"\n"
"Create a new branch \"name\" which points to a commit.\n"
"\n"
Expand Down

0 comments on commit 21efebd

Please sign in to comment.