Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

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

Sign up
Appearance settings

Commit9b5531b

Browse files
committed
Fix typos and further clarify Git.refresh docstring
This further improves the text previously introduced in#1829 andimproved in#1844.
1 parentfe1934c commit9b5531b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

‎git/cmd.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -379,8 +379,8 @@ def refresh(cls, path: Union[None, PathLike] = None) -> bool:
379379
:note: The top-level :func:`git.refresh` should be preferred because it calls
380380
this method and may also update other state accordingly.
381381
382-
:note: There are three different ways to specifywhat commandrefreshing causes
383-
to beuses for git:
382+
:note: There are three different ways to specifythe commandthat refreshing
383+
causesto beused for git:
384384
385385
1. Pass no *path* argument and do not set the ``GIT_PYTHON_GIT_EXECUTABLE``
386386
environment variable. The command name ``git`` is used. It is looked up
@@ -394,9 +394,9 @@ def refresh(cls, path: Union[None, PathLike] = None) -> bool:
394394
in each command run. Setting ``GIT_PYTHON_GIT_EXECUTABLE`` to ``git`` has
395395
the same effect as not setting it.
396396
397-
3. Pass a *path* argument. This path, if not absolute,it immediately
397+
3. Pass a *path* argument. This path, if not absolute,is immediately
398398
resolved, relative to the current directory. This resolution occurs at
399-
the time of the refresh, and whengit commands are run, they are runwith
399+
the time of the refresh. Whengit commands are run, they are runusing
400400
that previously resolved path. If a *path* argument is passed, the
401401
``GIT_PYTHON_GIT_EXECUTABLE`` environment variable is not consulted.
402402

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp