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

Commitafd943a

Browse files
committed
Tweak message about GIT_PYTHON_REFRESH for 80-column terminals
The fragment of the refresh failure message (which is often writtento a terminal) about the effect of setting GIT_PYTHON_REFRESH tocontrol refesh failure reporting had previously been formatted witha maximum line length of 79 columns--in the message itself, not thecode for the message--so that it would fit in a traditional 80column wide terminal. This remains one of the popular widths to setfor terminal windows in a GUI, so it seems worthwhile to preserve.In3a6e3ef (#1815), I had inadvertently made the line one charactertoo long for that; at 80 columns, it would cause the newline to bewritten at the start of the next line, creating an unsightly extraline break.This is pretty minor, but what seems to me like an equally goodalternative wording avoids it, so this commit shortens the wording.
1 parentc0cd8a8 commitafd943a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎git/cmd.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,7 @@ def refresh(cls, path: Union[None, PathLike] = None) -> bool:
479479
This initial message can be silenced or aggravated in the future by setting the
480480
$%s environment variable. Use one of the following values:
481481
- %s: for no message or exception
482-
- %s: for a warning message (logged at level CRITICAL, displayed by default)
482+
- %s: for a warning message (logging level CRITICAL, displayed by default)
483483
- %s: for a raised exception
484484
485485
Example:
@@ -509,7 +509,7 @@ def refresh(cls, path: Union[None, PathLike] = None) -> bool:
509509
510510
Use only the following values:
511511
- %s: for no message or exception
512-
- %s: for a warning message (logged at level CRITICAL, displayed by default)
512+
- %s: for a warning message (logging level CRITICAL, displayed by default)
513513
- %s: for a raised exception
514514
"""
515515
)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp