Skip to content

Commit 19c45e3

Browse files
committed
docs: fix repository_merge_base docstring to describe merge base, not diff
1 parent 56a7604 commit 19c45e3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

gitlab/v4/objects/repositories.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ def repository_archive(
330330
@cli.register_custom_action(cls_names="Project", required=("refs",))
331331
@exc.on_http_error(exc.GitlabGetError)
332332
def repository_merge_base(self, refs: list[str], **kwargs: Any) -> dict[str, Any]:
333-
"""Return a diff between two branches/commits.
333+
"""Return the common ancestor commit for the given refs.
334334
335335
Args:
336336
refs: The refs to find the common ancestor of. Multiple refs can be passed.

0 commit comments

Comments
 (0)