diff options
author | Yobmod <yobmod@gmail.com> | 2021-07-06 17:22:37 +0100 |
---|---|---|
committer | Yobmod <yobmod@gmail.com> | 2021-07-06 17:22:37 +0100 |
commit | e9858513addf8a4ee69890d46f58c5ef2528a6ab (patch) | |
tree | 64676ef8c5226f492345ec57dbb3be933a657c13 /git/diff.py | |
parent | 1d0e666ebfdbe7eeb80b3d859f7e3823d36256e3 (diff) | |
download | gitpython-e9858513addf8a4ee69890d46f58c5ef2528a6ab.tar.gz |
Add 'U' to change_levels (should pass)
Diffstat (limited to 'git/diff.py')
-rw-r--r-- | git/diff.py | 4 |
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'] # ------------------------------------------------------------------------ |