Explorar o código

Look up object in object store, not repo.

Jelmer Vernooij %!s(int64=13) %!d(string=hai) anos
pai
achega
ef8b94449c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      dulwich/server.py

+ 1 - 1
dulwich/server.py

@@ -799,7 +799,7 @@ def generate_info_refs(repo):
         if name == 'HEAD':
             continue
         sha = refs[name]
-        o = repo[sha]
+        o = repo.object_store[sha]
         if not o:
             continue
         yield '%s\t%s\n' % (sha, name)