summaryrefslogtreecommitdiff
path: root/git/exc.py
diff options
context:
space:
mode:
Diffstat (limited to 'git/exc.py')
-rw-r--r--git/exc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/git/exc.py b/git/exc.py
index 6e646921..bcf5aabb 100644
--- a/git/exc.py
+++ b/git/exc.py
@@ -91,7 +91,7 @@ class GitCommandError(CommandError):
""" Thrown if execution of the git command fails with non-zero status code. """
def __init__(self, command: Union[List[str], Tuple[str, ...], str],
- status: Union[str, None, Exception] = None,
+ status: Union[str, int, None, Exception] = None,
stderr: Optional[IO[str]] = None,
stdout: Optional[IO[str]] = None,
) -> None: