diff options
author | Yobmod <yobmod@gmail.com> | 2021-05-16 18:04:30 +0100 |
---|---|---|
committer | Yobmod <yobmod@gmail.com> | 2021-05-16 18:04:30 +0100 |
commit | 78d12aa7c922551dddd7168498e29eae32c9d109 (patch) | |
tree | ee45d8792ee808a4316cfac5133397a7becf8334 /git/exc.py | |
parent | c3f91bd1c0e8aef1b416ae6b1f55e7bd93a4f281 (diff) | |
download | gitpython-78d12aa7c922551dddd7168498e29eae32c9d109.tar.gz |
Add remaining types to IndexFile ._preprocess_add_items() to .diff()
Diffstat (limited to 'git/exc.py')
-rw-r--r-- | git/exc.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -11,7 +11,7 @@ from git.compat import safe_decode # typing ---------------------------------------------------- -from typing import List, Optional, Tuple, Union, TYPE_CHECKING +from typing import List, Optional, Sequence, Tuple, Union, TYPE_CHECKING from git.types import PathLike if TYPE_CHECKING: @@ -113,7 +113,7 @@ class CheckoutError(GitError): were checked out successfully and hence match the version stored in the index""" - def __init__(self, message: str, failed_files: List[PathLike], valid_files: List[PathLike], + def __init__(self, message: str, failed_files: Sequence[PathLike], valid_files: List[PathLike], failed_reasons: List[str]) -> None: Exception.__init__(self, message) |