summaryrefslogtreecommitdiff
path: root/git/index/base.py
diff options
context:
space:
mode:
authorYobmod <yobmod@gmail.com>2021-06-24 05:52:48 +0100
committerYobmod <yobmod@gmail.com>2021-06-24 05:52:48 +0100
commit42e4f5e26b812385df65f8f32081035e2fb2a121 (patch)
treeb391428ad23747b8cb8ee34908f0a4e4711c45a5 /git/index/base.py
parent6500844a925f0df90a0926dbdfc7b5ebb4a97bc9 (diff)
downloadgitpython-42e4f5e26b812385df65f8f32081035e2fb2a121.tar.gz
Add types to tree.Tree
Diffstat (limited to 'git/index/base.py')
-rw-r--r--git/index/base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/git/index/base.py b/git/index/base.py
index 04424060..e2b3f8fa 100644
--- a/git/index/base.py
+++ b/git/index/base.py
@@ -568,7 +568,7 @@ class IndexFile(LazyMixin, diff.Diffable, Serializable):
# note: additional deserialization could be saved if write_tree_from_cache
# would return sorted tree entries
root_tree = Tree(self.repo, binsha, path='')
- root_tree._cache = tree_items
+ root_tree._cache = tree_items # type: ignore
return root_tree
def _process_diff_args(self, args: List[Union[str, diff.Diffable, object]]