summaryrefslogtreecommitdiff
path: root/git/diff.py
diff options
context:
space:
mode:
Diffstat (limited to 'git/diff.py')
-rw-r--r--git/diff.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/git/diff.py b/git/diff.py
index f07bd93a..611194a8 100644
--- a/git/diff.py
+++ b/git/diff.py
@@ -28,7 +28,7 @@ Lit_change_type = Literal['A', 'D', 'M', 'R', 'T']
def is_change_type(inp: str) -> TypeGuard[Lit_change_type]:
- return inp in Lit_change_type.__args__ # type: ignore
+ return inp in ('A', 'D', 'M', 'R', 'T')
# ------------------------------------------------------------------------