mirror of https://github.com/voidlizard/hbs2
tree index fixed
This commit is contained in:
parent
933fd5154f
commit
f40d4fc15e
|
@ -529,6 +529,10 @@ buildCommitTreeIndex dir = do
|
||||||
|
|
||||||
for_ (Map.toList trees) $ \(t,h0) -> do
|
for_ (Map.toList trees) $ \(t,h0) -> do
|
||||||
|
|
||||||
|
case t of
|
||||||
|
[_] -> insertTree co root h0
|
||||||
|
_ -> pure ()
|
||||||
|
|
||||||
let child = tailSafe t
|
let child = tailSafe t
|
||||||
debug $ red "TREE-REL:" <+> pretty t
|
debug $ red "TREE-REL:" <+> pretty t
|
||||||
let parent = Map.lookup child trees
|
let parent = Map.lookup child trees
|
||||||
|
|
Loading…
Reference in New Issue