summaryrefslogtreecommitdiff
path: root/branch.go
diff options
context:
space:
mode:
authorJohann Weging <[email protected]>2013-10-08 14:49:03 +0200
committerJohann Weging <[email protected]>2013-10-08 14:49:03 +0200
commit6372ec052fb752122bc0662783b8450bbe2ce983 (patch)
treeb1a64c6e6bf202ad5cd72f7c01d1ae1845fd1045 /branch.go
parent771e0c11bc8b1f00cdd6fdddbfe114957aa77ce2 (diff)
branch: Renamed BranchCreate to CreateBranch
Diffstat (limited to 'branch.go')
-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)