summaryrefslogtreecommitdiff
path: root/git/diff.py
diff options
context:
space:
mode:
authorYobmod <yobmod@gmail.com>2021-07-06 16:04:06 +0100
committerYobmod <yobmod@gmail.com>2021-07-06 16:04:06 +0100
commitc0ab23e5d0afce4a85a8af7ec2a360bf6c71c4ac (patch)
tree07eb82ecdf3a2d9f8f0ff13ed92b479cf8f3d93e /git/diff.py
parent6aebb73bb818d91c275b94b6052d8ce4ddc113c6 (diff)
downloadgitpython-c0ab23e5d0afce4a85a8af7ec2a360bf6c71c4ac.tar.gz
Rmv submodule types2
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 c5e231b2..ac744999 100644
--- a/git/diff.py
+++ b/git/diff.py
@@ -24,11 +24,11 @@ if TYPE_CHECKING:
from subprocess import Popen
-Lit_change_type = Literal['A', 'D', 'M', 'R', 'T']
+Lit_change_type = Literal['A', 'C', 'D', 'M', 'R', 'T']
def is_change_type(inp: str) -> TypeGuard[Lit_change_type]:
- return inp in ('A', 'D', 'M', 'R', 'T')
+ return inp in ('A', 'D', 'C', 'M', 'R', 'T')
# ------------------------------------------------------------------------