diff --git a/git/objects/submodule/base.py b/git/objects/submodule/base.py index d08e967b8..497e5a06a 100644 --- a/git/objects/submodule/base.py +++ b/git/objects/submodule/base.py @@ -124,7 +124,7 @@ def __init__( the ``url`` parameter. :param parent_commit: See :meth:`set_parent_commit`. :param url: The URL to the remote repository which is the submodule. - :param branch_path: Full (relative) path to ref to checkout when cloning the + :param branch_path: Complete relative path to ref to checkout when cloning the remote repository. """ super().__init__(repo, binsha, mode, path) @@ -1322,7 +1322,7 @@ def branch(self) -> "Head": @property def branch_path(self) -> PathLike: """ - :return: Full (relative) path as string to the branch we would checkout + :return: Complete relative path as string to the branch we would checkout from the remote and track """ return self._branch_path