Use Commit entity for tree and blob last_commit, adding commit_path

Open Douwe Maan requested to merge dm-last-commit-json into master