Skip to main content

Module show

Module show 

Source
Expand description

mkit show [<object>...] — display objects (default HEAD).

Mirrors git show:

  • commit / remix: a header (commit <hash> / Author / Date / indented message, matching mkit log) followed by the unified diff against its first parent. The diff body is produced by the same code as mkit diff, so show <commit> is byte-identical to diff <parent> <commit> (modulo the abbreviated index ids).
  • tag: the tag header, then the peeled target object.
  • tree: an ls-tree-style listing.
  • blob: the raw contents.

Like mkit log, the commit/tag headers carry mkit’s signed Identity and 64-hex BLAKE3 ids, so the header lines diverge from git’s Author: Name <email> / 40-hex form — the same documented divergence as log. The diff body, tree listing, and blob output match git.

Functions§

run