Skip to content

lstree: Use localrepo.TreeEntry instead of lstree.Entry

John Cai requested to merge jc/unify-tree-object into master

There is no reason to keep two structs around that both represent a tree entry object. Now that we have localrepo.TreeEntry, added by 9fac9132, let's unify lstree to use localrepo.TreeEntry everywhere.

To do so, we need to add a Type field to localrepo.TreeEntry.

Merge request reports