gemini.git

going-flying.com gemini git repository

summary

tree

log

refs

03291afb7a93a943b415cd857b63f2a11cddd63e - Matthew Ernisse - 1612643247

whoops.

view tree

view raw

diff --git a/git/git.py b/git/git.py
index be189c4..1414544 100644
--- a/git/git.py
+++ b/git/git.py
@@ -158,6 +158,7 @@ class GitGmiRepo:
         # recursively replace all Trees with a list of Blobs inside it,
         # bundled with the Tree's name as a tuple,
         # e.g. [('src', [blob0, blob1]), otherblob].
+        tree_list = list(tree)
         for idx, item in enumerate(tree_list):
             if isinstance(item, Tree):
                 tree_list[idx] = (item.name, cls.parse_recursive_tree(tree_list[idx]))