Ejemplo n.º 1
0
def Update(repo: git.Repo, submodule: git.Submodule, recursive=False):
    """Runs an update appropriate for updating the checkout to the
    latest available revision.
    """
    submodule.update(recursive, True, True)
Ejemplo n.º 2
0
def Checkout(repo: git.Repo, submodule: git.Submodule, recursive=False):
    """Runs an update appropriate for an initial checkout of this submodule.
    """
    submodule.update(recursive, True)