Skip to content
zit Artifact [f069bd456c]
Login

Artifact [f069bd456c]

Artifact f069bd456c9a6ff7bd4c37bd92d5f01910e1fb3244bb7c9f9c7dac1c892b4737:


# zit 0.14.11

zit 0.14.11 makes pulls store what they receive compactly and finish however
much they fetch, writes wiki versions as Fossil does, and changes two
defaults: a bare `--horizon` starts at the main branch, and `import-git`
takes local branches and tags unless told otherwise.

This release is from trunk. Stores, caches and the wire are unchanged from
0.14.10; nothing is rebuilt on upgrade.

## Pulls

- **A version that arrives whole is stored as a delta.** A pull stored a
  file version it received whole as it came, so a pull of history from a
  server that holds it whole grew the store far past its packed size. It
  now stores it as a delta against the same file's previous version, as
  `pack` does. Replaying one such pull: 85.8 MB before, 45.2 MB now, and
  the store writes 3 to 5 times faster. A large pull from any server
  benefits, because a server sends a delta only when the receiver already
  holds its base. A store already grown this way shrinks with `zit pack`.
- **A large pull or push no longer fails.** `zit serve` answered every
  request for content in one reply, and a pull asking for more than 512 MB
  at once failed with HTTP 500; a push of that much failed with "the sync
  request exceeded the transport limit". Each reply and each push request
  now carries about 4 MB of content, as Fossil's `max-download` bounds it,
  and the rest follows in later rounds. Stock Fossil pulls from such a
  server as it does from Fossil.

## Wiki

- **`wiki commit` names the version it replaces.** Each later version of a
  page now carries the `P` card Fossil writes, naming the page's latest
  version; a deletion carries one too. When a page has two heads, after two
  clones each edited it, the later-dated head is named, as Fossil does.
  Versions written by earlier zits keep no parent; they are not rewritten,
  and pages that mix both read correctly.
- **`wiki commit -m TEXT`** (or `--comment`) records a change comment as a
  `C` card. Fossil reads and keeps it but never writes one, and its wiki
  timeline does not show it; `zit artifact` and `fossil artifact` do. A
  Fossil older than about 2.11 cannot clone a repository holding one.

## Horizon clones

`--horizon=tip` keeps Fossil's meaning, the newest check-in in the
repository, which can be on a side branch. A bare `--horizon` now starts at
the main branch's tip, and `--horizon=tip` says when it lands on another
branch. A bare `--horizon` asks the origin for `trunk`; against an origin
whose main branch has another name, give it with `--horizon=NAME`.

## import-git

- **Local branches and tags by default.** The import took every ref,
  remote-tracking branches included, which could bring in stale side
  branches and large files reachable only from them. It now takes
  `refs/heads/*` and `refs/tags/*`; `--all-refs` takes every other
  namespace as before. The summary lists what it took and what it skipped,
  and `-F json` carries both lists.
- **Adding to a destination an earlier zit filled** keeps every ref its
  map already records, whatever the namespace, and says so.
- A shallow or detached source is still refused, and the message now says
  what to do instead.

`zit serve` and `zit open` in a bare store now name the route that works:
`zit open --store=PATH` from an empty directory.

## Qualification

The release manifest records native qualification against the exact tagged
source archive on macOS ARM64, Linux x86-64 and Linux ARM64, using the pinned
Zig 0.17.0 toolchain. Publication is gated on unit and end-to-end tests, Git
differentials, deterministic simulation, seeded fuzzing, and Fossil
interoperability checks on every distributed target.

For the basis of the conformance claim, see
[the 0.1.0 release notes](RELEASE-NOTES-0.1.0.md).