We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f6bf79 commit 6971a93Copy full SHA for 6971a93
1 file changed
git/repo/base.py
@@ -559,11 +559,11 @@ def merge_base(self, *rev, **kwargs):
559
return res
560
561
def is_ancestor(self, ancestor_rev, rev):
562
- """Check if a commit is an ancestor of another
+ """Check if a commit is an ancestor of another
563
564
:param ancestor_rev: Rev which should be an ancestor
565
:param rev: Rev to test against ancestor_rev
566
- :return: ``True``, ancestor_rev is an accestor to rev.
+ :return: ``True``, ancestor_rev is an ancestor to rev.
567
"""
568
try:
569
self.git.merge_base(ancestor_rev, rev, is_ancestor=True)
0 commit comments