Skip to content

Commit

Permalink
Show full-path refresh() in failure message differently
Browse files Browse the repository at this point in the history
This presents it more symbolically, rather than in an example-like
style that could confuse. See discussion in gitpython-developers#1844.
  • Loading branch information
EliahKagan committed Feb 25, 2024
1 parent 49da7ae commit 0392abe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git/cmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,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("/full/path/to/git")
- explicitly set via git.refresh(<full-path-to-git-executable>)
"""
)
% cls._git_exec_env_var
Expand Down

0 comments on commit 0392abe

Please sign in to comment.