Explorar o código

Make sure mode is initialized.

Jelmer Vernooij %!s(int64=15) %!d(string=hai) anos
pai
achega
2ae0459169
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      dulwich/object_store.py

+ 1 - 0
dulwich/object_store.py

@@ -623,6 +623,7 @@ def tree_lookup_path(lookup_obj, root_sha, path):
     """
     parts = path.split("/")
     sha = root_sha
+    mode = None
     for p in parts:
         obj = lookup_obj(sha)
         if type(obj) is not Tree: