is_ancestor
Determine if one commit is an ancestor of another to verify whether a fix or feature branch is contained in another branch without cloning. Returns a boolean and explanation.
Instructions
Determines whether commit 'ancestor' is an ancestor of commit 'descendant'. Use to verify whether a fix or feature branch is already contained within another branch without cloning. Returns a boolean and explanation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | Repository name. | |
| owner | Yes | Repository owner (organization or user). | |
| ancestor | Yes | Candidate ancestor commit SHA, branch, or tag. | |
| descendant | Yes | Candidate descendant commit SHA, branch, or tag. |