diff --git a/git/objects/submodule/base.py b/git/objects/submodule/base.py index 4e5a2a964..0e51ae711 100644 --- a/git/objects/submodule/base.py +++ b/git/objects/submodule/base.py @@ -143,7 +143,9 @@ def __init__( See the `url` parameter. :param parent_commit: - See :meth:`set_parent_commit`. + The :class:`~git.objects.commit.Commit` whose tree is supposed to contain + the ``.gitmodules`` blob, or ``None`` to always point to the most recent + commit. See :meth:`set_parent_commit` for details. :param url: The URL to the remote repository which is the submodule. @@ -1260,7 +1262,7 @@ def set_parent_commit(self, commit: Union[Commit_ish, str, None], check: bool = contain the ``.gitmodules`` blob. :param commit: - Commit-ish reference pointing at the root_tree, or ``None`` to always point + Commit-ish reference pointing at the root tree, or ``None`` to always point to the most recent commit. :param check: pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy