summaryrefslogtreecommitdiff
path: root/git/diff.py
diff options
context:
space:
mode:
authorYobmod <yobmod@gmail.com>2021-07-06 17:22:37 +0100
committerYobmod <yobmod@gmail.com>2021-07-06 17:22:37 +0100
commite9858513addf8a4ee69890d46f58c5ef2528a6ab (patch)
tree64676ef8c5226f492345ec57dbb3be933a657c13 /git/diff.py
parent1d0e666ebfdbe7eeb80b3d859f7e3823d36256e3 (diff)
downloadgitpython-e9858513addf8a4ee69890d46f58c5ef2528a6ab.tar.gz
Add 'U' to change_levels (should pass)
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 14f823a1..6c34a871 100644
--- a/git/diff.py
+++ b/git/diff.py
@@ -24,12 +24,12 @@ if TYPE_CHECKING:
from subprocess import Popen
-Lit_change_type = Literal['A', 'D', 'C', 'M', 'R', 'T']
+Lit_change_type = Literal['A', 'D', 'C', 'M', 'R', 'T', 'U']
def is_change_type(inp: str) -> TypeGuard[Lit_change_type]:
# return True
- return inp in ['A', 'D', 'C', 'M', 'R', 'T']
+ return inp in ['A', 'D', 'C', 'M', 'R', 'T', 'U']
# ------------------------------------------------------------------------