Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit cd8a312

Browse filesBrowse 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
Copy full SHA for cd8a312

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

‎git/cmd.py

Copy file name to clipboardExpand all lines: git/cmd.py
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.