localrepo: Add ability to read and write trees in memory
This MR is a slew of improvements to tree functions in the localrepo
package. Namely, it adds an Entries
member to the TreeEntry
struct so it creates a new data structure that we can operate on in memory before we write the changes to the tree into Git.
These commits have been broken out from !5783 (closed) and were originally reviewed as part of !5642 (merged)
Edited by John Cai