Skip to content

Commit 7166703

Browse files
committed
Fix possible inaccuracy in Lit_config_levels docstring
These are not necessarily what one means by the "scope" of a configuration variable, in part because of the nature of the subtle distinction between "user" and "global", and in part because of other issues such as how setting a variable for a single command with "-c" has a scope which is not listed. This also brings the docstring somewhat more in line with how these values are documented elsewhere in GitPython.
1 parent 15d50de commit 7166703

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git/types.py

+1-1
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)