summaryrefslogtreecommitdiff
path: root/git
diff options
context:
space:
mode:
authorYobmod <yobmod@gmail.com>2021-07-31 20:06:59 +0100
committerYobmod <yobmod@gmail.com>2021-07-31 20:06:59 +0100
commit48f64bbdea658fd9e0bd5d3d51c54ee6be8c05bd (patch)
treea37c7c2f4923b4db062ee0ec95f7303f115b3801 /git
parent56f8dd6a902736cb6b87329542ea6dcbf380884e (diff)
downloadgitpython-48f64bbdea658fd9e0bd5d3d51c54ee6be8c05bd.tar.gz
Add final types to index/fun.py
Diffstat (limited to 'git')
-rw-r--r--git/index/fun.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/git/index/fun.py b/git/index/fun.py
index 49e3f2c5..16ec744e 100644
--- a/git/index/fun.py
+++ b/git/index/fun.py
@@ -251,7 +251,7 @@ def read_cache(stream: IO[bytes]) -> Tuple[int, Dict[Tuple[PathLike, int], 'Inde
return (version, entries, extension_data, content_sha)
-def write_tree_from_cache(entries: List[IndexEntry], odb, sl: slice, si: int = 0
+def write_tree_from_cache(entries: List[IndexEntry], odb: 'GitCmdObjectDB', sl: slice, si: int = 0
) -> Tuple[bytes, List['TreeCacheTup']]:
"""Create a tree from the given sorted list of entries and put the respective
trees into the given object database