Find the best common ancestor between this ref and another ref. Parameters ---------- other: The other ref to compare against.
(self, other: Self)
| 9497 | return await _ctx.execute(str) |
| 9498 | |
| 9499 | def common_ancestor(self, other: Self) -> Self: |
| 9500 | """Find the best common ancestor between this ref and another ref. |
| 9501 | |
| 9502 | Parameters |
| 9503 | ---------- |
| 9504 | other: |
| 9505 | The other ref to compare against. |
| 9506 | """ |
| 9507 | _args = [ |
| 9508 | Arg("other", other), |
| 9509 | ] |
| 9510 | _ctx = self._select("commonAncestor", _args) |
| 9511 | return GitRef(_ctx) |
| 9512 | |
| 9513 | async def id(self) -> str: |
| 9514 | """A unique identifier for this GitRef. |