get_nth_ancestor
Description:
Gets the commit object that is the n-th generation ancestor of the named commit object, following only the first parents.
Passing 0 to the n
parameter returns another instance of this
.
Parameters:
this |
a Commit. |
n |
the requested ancestor. |
Returns:
the |