Expand description
Reflog-residue analysis: history-rewriting operations recorded in the reflog.
Git stamps every ref movement into .git/logs/<ref> with a message naming
the operation that moved it (commit:, reset:, rebase (finish):,
filter-branch:, commit (amend):, … (forced update)). A message whose
operation rewrites history is residue an examiner follows — the original tip
is still resurrectable from the reflog and the object store — never a verdict.
Enums§
- Reflog
Anomaly - A history-rewriting operation observed in a ref’s reflog.
Functions§
- audit_
reflog - Read
refname’s reflog fromrepoand audit it for history rewrites. - audit_
reflog_ entries - Audit a set of reflog entries for
ref_name, flagging history rewrites (pure; side-effect free). - classify_
rewrite - Classify a reflog message as a history-rewriting operation, returning the operation keyword if it is one (pure; the analyzer’s decision core).