summaryrefslogtreecommitdiff
path: root/git/index/typ.py
diff options
context:
space:
mode:
Diffstat (limited to 'git/index/typ.py')
-rw-r--r--git/index/typ.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/git/index/typ.py b/git/index/typ.py
index ad1a6973..7f5dcc10 100644
--- a/git/index/typ.py
+++ b/git/index/typ.py
@@ -52,7 +52,7 @@ class BlobFilter(object):
self.paths = paths
def __call__(self, stage_blob: Tuple[StageType, Blob]) -> bool:
- blob_pathlike: Pathlike = stage_blob[1].path
+ blob_pathlike: PathLike = stage_blob[1].path
blob_path: Path = blob_pathlike if isinstance(blob_pathlike, Path) else Path(blob_pathlike)
for pathlike in self.paths:
path: Path = pathlike if isinstance(pathlike, Path) else Path(pathlike)