summaryrefslogtreecommitdiff
path: root/git/repo/base.py
diff options
context:
space:
mode:
authorSebastian Thiel <sebastian.thiel@icloud.com>2023-01-08 07:57:40 +0100
committerGitHub <noreply@github.com>2023-01-08 07:57:40 +0100
commit1d644d8f76a4b7e63685a4903522a3720d271403 (patch)
tree2855e52bccf29ce3e67bde9abebf15ac42d1bb90 /git/repo/base.py
parentfbc36f9cefa3a7e150187dabf8758a53062c5b47 (diff)
parent4110b613833fb4039847ac80ca8571f4ec8ebe50 (diff)
downloadgitpython-1d644d8f76a4b7e63685a4903522a3720d271403.tar.gz
Merge pull request #1530 from obfusk/fix-unsafe-param-docstring
fix/add allow_unsafe_* params in docstrings + fix typo
Diffstat (limited to 'git/repo/base.py')
-rw-r--r--git/repo/base.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/git/repo/base.py b/git/repo/base.py
index 93ed0c71..4a3704c0 100644
--- a/git/repo/base.py
+++ b/git/repo/base.py
@@ -1259,7 +1259,8 @@ class Repo(object):
option per list item which is passed exactly as specified to clone.
For example ['--config core.filemode=false', '--config core.ignorecase',
'--recurse-submodule=repo1_path', '--recurse-submodule=repo2_path']
- :param unsafe_protocols: Allow unsafe protocols to be used, like ext
+ :param allow_unsafe_protocols: Allow unsafe protocols to be used, like ext
+ :param allow_unsafe_options: Allow unsafe options to be used, like --upload-pack
:param kwargs:
* odbt = ObjectDatabase Type, allowing to determine the object database
implementation used by the returned Repo instance
@@ -1302,7 +1303,8 @@ class Repo(object):
If you want to unset some variable, consider providing empty string
as its value.
:param multi_options: See ``clone`` method
- :param unsafe_protocols: Allow unsafe protocols to be used, like ext
+ :param allow_unsafe_protocols: Allow unsafe protocols to be used, like ext
+ :param allow_unsafe_options: Allow unsafe options to be used, like --upload-pack
:param kwargs: see the ``clone`` method
:return: Repo instance pointing to the cloned directory"""
git = cls.GitCommandWrapperType(os.getcwd())