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

Commit7166703

Browse files
committed
Fix possible inaccuracy in Lit_config_levels docstring
These are not necessarily what one means by the "scope" of aconfiguration variable, in part because of the nature of the subtledistinction between "user" and "global", and in part because ofother issues such as how setting a variable for a single commandwith "-c" has a scope which is not listed.This also brings the docstring somewhat more in line with how thesevalues are documented elsewhere in GitPython.
1 parent15d50de commit7166703

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎git/types.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@
111111
Lit_config_levels=Literal["system","global","user","repository"]
112112
"""Type of literal strings naming git configuration levels.
113113
114-
Such a string identifies what level, or scope, a git configuration variable is in.
114+
These strings relate to which file a git configuration variable is in.
115115
"""
116116

117117
ConfigLevels_Tup=Tuple[Literal["system"],Literal["user"],Literal["global"],Literal["repository"]]

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2026 Movatter.jp