Skip to content

Commit 274661b

Browse files
committed
git: repo: base: update clone_from env argument description
1 parent 66bb013 commit 274661b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

git/repo/base.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1012,6 +1012,9 @@ def clone_from(cls, url, to_path, progress=None, env=None, multi_options=None, *
10121012
:param to_path: Path to which the repository should be cloned to
10131013
:param progress: See 'git.remote.Remote.push'.
10141014
:param env: Optional dictionary containing the desired environment variables.
1015+
Note: Provided variables will be used to update the execution
1016+
environment for `git`. If some variable is not specified in `env`
1017+
and is defined in `os.environ`, value from `os.environ` will be used.
10151018
:param multi_options: See ``clone`` method
10161019
:param kwargs: see the ``clone`` method
10171020
:return: Repo instance pointing to the cloned directory"""

0 commit comments

Comments
 (0)