GIT-008: OFS writer — delta against delta bases, keep chains

Input

Context

The OFS-only writer never builds delta CHAINS: keep_find_raw_in_pack (keeper/KEEP.c:1642) accepts a base only when its stored record is RAW (type 1..4), skipping any base that is itself an OFS_DELTA. So when an object's natural base is itself a delta (the common case in a file's revision history — v₃'s base v₂ is stored as a delta), the writer cannot get the base bytes from a single inflate and stores the object RAW (a full blob, no delta). The format and reader already support OFS chains (keep_get_packed_rec subtracts ofs_delta and loops). This is purely a writer shortcut.

Goals

Constraints

WIP

Design decisions

TODOs

Blockers and bummers

Outcome