diff options
| author | Jesse Ezell <[email protected]> | 2014-04-04 00:22:42 -0700 |
|---|---|---|
| committer | Jesse Ezell <[email protected]> | 2014-04-04 00:22:42 -0700 |
| commit | 864c57f554821143b6298e3b927d362d996a32c2 (patch) | |
| tree | f4f863d218f454a319cf14d925e058cc6a069eae /branch.go | |
| parent | 0b48ba2224ec41dfc10a379ce1b7bb86441cc432 (diff) | |
| parent | 9cd1d129bcd567ef65137783a603f8d898d8d933 (diff) | |
merge latest, copy merge bytes to go array
Diffstat (limited to 'branch.go')
| -rw-r--r-- | branch.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -43,7 +43,7 @@ func (repo *Repository) CreateBranch(branchName string, target *Commit, force bo runtime.LockOSThread() defer runtime.UnlockOSThread() - ret := C.git_branch_create(&ref.ptr, repo.ptr, cBranchName, target.ptr, cForce, cSignature, cmsg) + ret := C.git_branch_create(&ref.ptr, repo.ptr, cBranchName, target.cast_ptr, cForce, cSignature, cmsg) if ret < 0 { return nil, MakeGitError(ret) } |
