Lines Matching refs:Repo
6 Forbid unsafe protocol URLs in Repo.clone{,_from}()
155 - def _clone_repo(cls, repo: 'Repo', url: str, path: PathLike, name: str, **kwargs: Any) -> 'Rep…
156 + def _clone_repo(cls, repo: 'Repo', url: str, path: PathLike, name: str,
157 … allow_unsafe_options: bool = False, allow_unsafe_protocols: bool = False,**kwargs: Any) -> 'Repo':
158 """:return: Repo instance of newly cloned repository
165 - clone = git.Repo.clone_from(url, module_checkout_path, **kwargs)
166 + clone = git.Repo.clone_from(url, module_checkout_path, allow_unsafe_options=allow_unsafe_o…
173 def add(cls, repo: 'Repo', name: str, path: PathLike, url: Union[str, None] = None,
237 def __init__(self, repo: 'Repo', name: str) -> None:
284 - def create(cls, repo: 'Repo', name: str, url: str, **kwargs: Any) -> 'Remote':
285 + def create(cls, repo: 'Repo', name: str, url: str, allow_unsafe_protocols: bool = False, *kwar…
392 @@ -97,6 +101,18 @@ class Repo(object):
411 @@ -1049,7 +1065,8 @@ class Repo(object):
418 ) -> 'Repo':
421 @@ -1072,6 +1089,12 @@ class Repo(object):
434 @@ -1107,7 +1130,9 @@ class Repo(object):
438 - multi_options: Optional[List[str]] = None, **kwargs: Any) -> 'Repo':
441 + **kwargs: Any) -> 'Repo':
445 @@ -1116,18 +1141,21 @@ class Repo(object):
452 implementation used by the returned Repo instance
455 :return: ``git.Repo`` (the newly cloned repo)"""
463 - multi_options: Optional[List[str]] = None, **kwargs: Any) -> 'Repo':
466 + allow_unsafe_options: bool = False, **kwargs: Any) -> 'Repo':
470 @@ -1140,12 +1168,14 @@ class Repo(object):
476 :return: Repo instance pointing to the cloned directory"""
485 prefix: Optional[str] = None, **kwargs: Any) -> Repo: