File tree Expand file tree Collapse file tree 2 files changed +139
-91
lines changed Expand file tree Collapse file tree 2 files changed +139
-91
lines changed Original file line number Diff line number Diff line change 122122def refresh (path : Optional [PathLike ] = None ) -> None :
123123 """Convenience method for setting the git executable path.
124124
125- :param path: Optional path to the Git executable. If not absolute, it is resolved
125+ :param path:
126+ Optional path to the Git executable. If not absolute, it is resolved
126127 immediately, relative to the current directory.
127128
128- :note: The *path* parameter is usually omitted and cannot be used to specify a
129- custom command whose location is looked up in a path search on each call. See
129+ :note:
130+ The *path* parameter is usually omitted and cannot be used to specify a custom
131+ command whose location is looked up in a path search on each call. See
130132 :meth:`Git.refresh` for details on how to achieve this.
131133
132- :note: This calls :meth:`Git.refresh` and sets other global configuration according
133- to the effect of doing so. As such, this function should usually be used instead
134- of using :meth:`Git.refresh` or :meth:`FetchInfo.refresh` directly.
134+ :note:
135+ This calls :meth:`Git.refresh` and sets other global configuration according to
136+ the effect of doing so. As such, this function should usually be used instead of
137+ using :meth:`Git.refresh` or :meth:`FetchInfo.refresh` directly.
135138
136- :note: This function is called automatically, with no arguments, at import time.
139+ :note:
140+ This function is called automatically, with no arguments, at import time.
137141 """
138142 global GIT_OK
139143 GIT_OK = False
You can’t perform that action at this time.
0 commit comments