Make "tree_entry" have a SHA1 instead of a union of object pointers