func (revwalk *Revwalk) Push(oid *Oid) error { ecode := C.git_revwalk_push(revwalk.git_revwalk, oid.git_oid) if ecode != git_SUCCESS { return gitError() } return nil }
func (v *RevWalk) Push(id *Oid) error { runtime.LockOSThread() defer runtime.UnlockOSThread() ecode := C.git_revwalk_push(v.ptr, id.toC()) if ecode < 0 { return MakeGitError(ecode) } return nil }
func (v *RevWalk) Push(id *Oid) { C.git_revwalk_push(v.ptr, id.toC()) }
func (v *RevWalk) Push(o *Oid) { C.git_revwalk_push(v.git_revwalk, o.git_oid) }