Esempio n. 1
0
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
}
Esempio n. 2
0
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
}
Esempio n. 3
0
func (v *RevWalk) Push(id *Oid) {
	C.git_revwalk_push(v.ptr, id.toC())
}
Esempio n. 4
0
func (v *RevWalk) Push(o *Oid) {
	C.git_revwalk_push(v.git_revwalk, o.git_oid)
}