Content-Length: 1251 | pFad | http://github.com/gitpython-developers/GitPython/pull/1844.diff

thub.com diff --git a/git/cmd.py b/git/cmd.py index 7625357e8..5282acfdc 100644 --- a/git/cmd.py +++ b/git/cmd.py @@ -397,7 +397,7 @@ def refresh(cls, path: Union[None, PathLike] = None) -> bool: 3. Pass a *path* argument. This path, if not absolute, it immediately resolved, relative to the current directory. This resolution occurs at the time of the refresh, and when git commands are run, they are run with - that actual path. If a *path* argument is passed, the + that previously resolved path. If a *path* argument is passed, the ``GIT_PYTHON_GIT_EXECUTABLE`` environment variable is not consulted. :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: The git executable must be specified in one of the following ways: - be included in your $PATH - be set via $%s - - explicitly set via git.refresh() + - explicitly set via git.refresh("/full/path/to/git") """ ) % cls._git_exec_env_var








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/gitpython-developers/GitPython/pull/1844.diff

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy