func (revwalk *Revwalk) HideHead() error { ecode := C.git_revwalk_hide_head(revwalk.git_revwalk) if ecode != git_SUCCESS { return gitError() } return nil }
func (v *RevWalk) HideHead() (err error) { runtime.LockOSThread() defer runtime.UnlockOSThread() ecode := C.git_revwalk_hide_head(v.ptr) if ecode < 0 { err = MakeGitError(ecode) } return nil }