ItemValue
NameSQUASHED-FROM (spec document BIND SQUASHED-FROM)
TAG ID0x1D8L
Codec ID0x00001D80
Spec document0x00000000/codecs/0x00001D80/ (DECLARE target 1D80)
Section14 1110 (Meta), offset within section C = 8
KindMeta · class: lineage
TAG WORD0001 1101 1000 LLLL (000K KKKC CCCC LLLL)
Index descriptionThe content hashes of the original versions merged into one (git squash)
Hugo sidemeta/lineage/squashed-from.md

Fields (spec document)

The order of FIELDs within the document is the order of Payload fields (Codec spec document).

OrderField (BIND)FIELDWidthAccepted form (CODEC)ENUM
1digest#2record07C0 SHA-256-DIGEST

Records the content hashes of the original versions merged into one (git squash).

Layout

TAG WORD          0001 1101 1000 LLLL      Codec 0x1D8L
[Length extension TAG]
Payload           One SHA-256-DIGEST Value (16 WORD)
  • Codec: Meta 0x1D8L, lineage class
  • Payload: embedded Value (SHA-256-DIGEST)
  • Count: several allowed (one per original version)

Interpretation and validity

  • The digest format is embedded as a Value, leaving room to change the hash algorithm. Currently the content hash is SHA-256 only.

Spec document source

The spec document 0x00000000/codecs/0x00001D80/latest.geul as read with geul show (hex in uppercase).

SPEC-VERSION 0x0001
DOC-ID 0x04260000000000001D8000000000
BODY
#1 DECLARE 0x1D80
#2 FIELD #1 record
#5 CODEC #2 0x07C0
#3 BIND #1 "SQUASHED-FROM"
#4 BIND #2 "digest"