Skip to content

Commit 0392abe

Browse files
committed
Show full-path refresh() in failure message differently
This presents it more symbolically, rather than in an example-like style that could confuse. See discussion in gitpython-developers#1844.
1 parent 49da7ae commit 0392abe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git/cmd.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ def refresh(cls, path: Union[None, PathLike] = None) -> bool:
458458
The git executable must be specified in one of the following ways:
459459
- be included in your $PATH
460460
- be set via $%s
461-
- explicitly set via git.refresh("/full/path/to/git")
461+
- explicitly set via git.refresh(<full-path-to-git-executable>)
462462
"""
463463
)
464464
% cls._git_exec_env_var

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy