Skip to main content
On a feature branch the useful questions are narrower than “what is stale” and “what is uncovered”: which claims did this branch break, and what did it add that no claim covers. --since <range> answers both.

Range forms

The compared end is always the working tree, including uncommitted and untracked files. The range selects the base commit: A is anything git resolves to a commit: a branch, a tag, a hash, HEAD~3. Any other form is an error:
output
The changed paths are the files that differ between the base and the working tree, plus untracked files that git does not ignore. A rename counts as a deletion and an addition. --since needs git.

status --since

Lists the stale claims that the range caused: a claim is listed when it is stale and at least one of its file: sides is in a changed file, resolved to exactly one unit at the base, and now resolves differently or to a unit with a different fingerprint. A stale claim made in the range, whose id is not in the store at the base, is listed too. A claim that was already stale at the base for another reason is not listed, and expired claims are never listed. On the branch tidy-retry, delay_ms was rewritten from 200 * 2u64.pow(n) to 200 << n:
output
The rewrite computes the same values, so the statement still holds:
--since can be combined with --loc. It cannot be combined with --state or with claim ids; that is a usage error.

cover --since

Lists the uncovered units that the range added or changed: a unit is kept when its file is a changed path and no unit of the same file at the base had the same key and the same fingerprint. So a sentence copied within its file, with the original then edited, is not listed, even when no claim covers it; plain hibi cover lists it. The branch above also added a section to docs/retry.md:
output
The counts cover only the kept units. Scopes on repo: and external schemes are not evaluated with --since, and say so:
output

Before opening a pull request

Plain hibi status is the complete check: it lists every stale and expired claim, not only those the range touched. The three-dot form compares against the point where the branch left main, so changes merged into main since then are not reported as the branch’s.