summaryrefslogtreecommitdiff
path: root/git/index/fun.py
diff options
context:
space:
mode:
authorDominic <yobmod@gmail.com>2021-07-31 20:22:34 +0100
committerGitHub <noreply@github.com>2021-07-31 20:22:34 +0100
commit05825dcaaf6bf3de7d7e2bc595ad6dcb145f11e8 (patch)
tree9253532b6bb74372d2034c16ad58c6094f11fcc8 /git/index/fun.py
parent300330dfa2d2baece6d34b450523ac2a079c228b (diff)
parent2a350b57ce79a0e1b71623d1146c52918232e074 (diff)
downloadgitpython-05825dcaaf6bf3de7d7e2bc595ad6dcb145f11e8.tar.gz
Merge pull request #1308 from Yobmod/main
Add remaining types to symbolic.py
Diffstat (limited to 'git/index/fun.py')
-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