func (c *Commit) ParentCount() uint { return uint(C.git_commit_parentcount(c.cast_ptr)) }
func (commit *Commit) ParentCount() uint { return uint(C.git_commit_parentcount(commit.git_commit)) }