summaryrefslogtreecommitdiff
path: root/git/diff.py
diff options
context:
space:
mode:
authorYobmod <yobmod@gmail.com>2021-07-06 17:19:02 +0100
committerYobmod <yobmod@gmail.com>2021-07-06 17:19:02 +0100
commit1d0e666ebfdbe7eeb80b3d859f7e3823d36256e3 (patch)
tree273ace49d72dd8c68cead70a5fed109b2e118ffd /git/diff.py
parent28bde3978b4ca18dc97488b88b4424a2d521ac68 (diff)
downloadgitpython-1d0e666ebfdbe7eeb80b3d859f7e3823d36256e3.tar.gz
Check change_levels (should fail)
Diffstat (limited to 'git/diff.py')
-rw-r--r--git/diff.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/git/diff.py b/git/diff.py
index 7de4276a..14f823a1 100644
--- a/git/diff.py
+++ b/git/diff.py
@@ -28,8 +28,8 @@ Lit_change_type = Literal['A', 'D', 'C', 'M', 'R', 'T']
def is_change_type(inp: str) -> TypeGuard[Lit_change_type]:
- return True
- # return inp in ['A', 'D', 'C', 'M', 'R', 'T']
+ # return True
+ return inp in ['A', 'D', 'C', 'M', 'R', 'T']
# ------------------------------------------------------------------------