readTree: Allow tree nesting

#170
Opened by tazjin at 2022-01-25T11·17+00

readTree should be able to detect when it encounters another tree, for example if another git repo is subtree'd.

In this case it should stop traversing, and instead wrap the tree in a prefixing function that corrects its __readTree attributes.