| Item | Value |
|---|---|
| Name | CHERRY-PICKED-FROM (spec document BIND CHERRY-PICKED-FROM) |
| TAG ID | 0x1D5L |
| Codec ID | 0x00001D50 |
| Spec document | 0x00000000/codecs/0x00001D50/ (DECLARE target 1D50) |
| Section | 14 1110 (Meta), offset within section C = 5 |
| Kind | Meta · class: lineage |
| TAG WORD | 0001 1101 0101 LLLL (000K KKKC CCCC LLLL) |
| Index description | The content hash of the original version from which a change of another lineage was taken (git cherry-pick -x) |
| Hugo side | meta/lineage/cherry-picked-from.md |
Fields (spec document)
The order of FIELDs within the document is the order of Payload fields (Codec spec document).
| Order | Field (BIND) | FIELD | Width | Accepted form (CODEC) | ENUM |
|---|---|---|---|---|---|
| 1 | digest | #2 | record | 07C0 SHA-256-DIGEST |
Records the content hash of the original version from which a change of another lineage was taken (git cherry-pick -x).
Layout
TAG WORD 0001 1101 0101 LLLL Codec 0x1D5L
[Length extension TAG]
Payload One SHA-256-DIGEST Value (16 WORD)
- Codec: Meta
0x1D5L, lineage class - Payload: embedded Value (SHA-256-DIGEST)
- Count: several allowed
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/0x00001D50/latest.geul as read with geul show (hex in uppercase).
SPEC-VERSION 0x0001
DOC-ID 0x04260000000000001D5000000000
BODY
#1 DECLARE 0x1D50
#2 FIELD #1 record
#5 CODEC #2 0x07C0
#3 BIND #1 "CHERRY-PICKED-FROM"
#4 BIND #2 "digest"