summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--branch.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/branch.go b/branch.go
index e431f07..7a4e4cb 100644
--- a/branch.go
+++ b/branch.go
@@ -35,7 +35,7 @@ type Branch struct {
Reference
}
-func (repo *Repository) BranchCreate(branchName string, target *Commit, force bool) (*Reference, error) {
+func (repo *Repository) CreateBranch(branchName string, target *Commit, force bool) (*Reference, error) {
ref := new(Reference)
cBranchName := C.CString(branchName)
cForce := cbool(force)