Expand description
mkit cat-file (-t | -s | -p) <object> — inspect an object, like
git cat-file.
-t— print the object type (blob/tree/commit/tag; mkit’sremixis the one non-git type);-s— print the object size. For blobs this is the content byte length (matches git); for trees/commits it is mkit’s serialized size, which differs from git’s (different object format);-p— pretty-print: a blob’s raw bytes, a tree as<mode> <type> <hash>\t<name>lines (git-shaped, modulo hash length), or a readable commit/tag/remix summary;--batch— read object names from stdin (one per line) and emit, per object, a<hash> <type> <size>header then the content (or<name> missingfor unknown objects).
<object> is resolved through the shared revspec grammar (full/short
hash, ref, HEAD, HEAD~n/^).