Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Clarify return types from Repository.{create,lookup}_branch()
  • Loading branch information
djmattyg007 committed Aug 23, 2014
commit 21efebd305c2b8ee33f0fa81cd557fea8ffb933a
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