summaryrefslogtreecommitdiff
path: root/git/index/base.py
diff options
context:
space:
mode:
authorYobmod <yobmod@gmail.com>2021-07-09 23:21:16 +0100
committerYobmod <yobmod@gmail.com>2021-07-09 23:21:16 +0100
commit2ea528e9fbcac850d99ce527ad4a5e4afb3587a8 (patch)
tree1d53c6eca9f34d9356d59f348c4cb29cc28e66f4 /git/index/base.py
parent09053c565915d114384b1c20af8eecfed98c8069 (diff)
downloadgitpython-2ea528e9fbcac850d99ce527ad4a5e4afb3587a8.tar.gz
Fix typing of index.fun.write_tree_from_cache()
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 6f6ea5aa..3aa06e38 100644
--- a/git/index/base.py
+++ b/git/index/base.py
@@ -572,7 +572,7 @@ class IndexFile(LazyMixin, git_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 # type: ignore
+ root_tree._cache = tree_items # type: ignore # should this be encoded to [bytes, int, str]?
return root_tree
def _process_diff_args(self, # type: ignore[override]