There was an error while loading. Please reload this page.
2 parents c17f995 + b8ebff8 commit 1e044eaCopy full SHA for 1e044ea
1 file changed
git/cmd.py
@@ -397,7 +397,7 @@ def refresh(cls, path: Union[None, PathLike] = None) -> bool:
397
3. Pass a *path* argument. This path, if not absolute, it immediately
398
resolved, relative to the current directory. This resolution occurs at
399
the time of the refresh, and when git commands are run, they are run with
400
- that actual path. If a *path* argument is passed, the
+ that previously resolved path. If a *path* argument is passed, the
401
``GIT_PYTHON_GIT_EXECUTABLE`` environment variable is not consulted.
402
403
:note: Refreshing always sets the :attr:`Git.GIT_PYTHON_GIT_EXECUTABLE` class
@@ -438,7 +438,7 @@ def refresh(cls, path: Union[None, PathLike] = None) -> bool:
438
The git executable must be specified in one of the following ways:
439
- be included in your $PATH
440
- be set via $%s
441
- - explicitly set via git.refresh()
+ - explicitly set via git.refresh("/full/path/to/git")
442
"""
443
)
444
% cls._git_exec_env_var
0 commit comments