summaryrefslogtreecommitdiff
path: root/git/remote.py
diff options
context:
space:
mode:
authorYobmod <yobmod@gmail.com>2021-06-25 20:30:44 +0100
committerYobmod <yobmod@gmail.com>2021-06-25 20:30:44 +0100
commitdc8d23d3d6e735d70fd0a60641c58f6e44e17029 (patch)
treebe28a57f18183acb3a11a50f7084bc806e423503 /git/remote.py
parent5b0465c9bcca64c3a863a95735cc5e602946facb (diff)
downloadgitpython-dc8d23d3d6e735d70fd0a60641c58f6e44e17029.tar.gz
Add '?' to controlcharacter literal
Diffstat (limited to 'git/remote.py')
-rw-r--r--git/remote.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/git/remote.py b/git/remote.py
index 748dcbbd..e6daffe0 100644
--- a/git/remote.py
+++ b/git/remote.py
@@ -47,11 +47,11 @@ if TYPE_CHECKING:
from git.objects.tree import Tree
from git.objects.tag import TagObject
-flagKeyLiteral = Literal[' ', '!', '+', '-', '*', '=', 't']
+flagKeyLiteral = Literal[' ', '!', '+', '-', '*', '=', 't', '?']
def is_flagKeyLiteral(inp: str) -> TypeGuard[flagKeyLiteral]:
- return inp in [' ', '!', '+', '-', '=', '*', 't']
+ return inp in [' ', '!', '+', '-', '=', '*', 't', '?']
# -------------------------------------------------------------