by lozenge · 8y ago · 0 comments
A blob is a file (ish, it can also be use for some other things since it's not intrinsically named), a tree is a directory.
However Git doesn't treat filesystem directories themselves as first-class e.g. you can't version an empty directory. A tree only exists in order to contain sub-items (ultimately blobs).
Finding the list of all filenames that were ever in a particular path is very expensive.