Skip to content

Commit cd8a312

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 #1844.
1 parent 29c63ac commit cd8a312

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: git/cmd.py

+1-1
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)