Skip to main content

outdated_hooks

Function outdated_hooks 

Source
pub fn outdated_hooks(root: &Path) -> Option<String>
Expand description

A warning when the project under root runs git hooks from before Plan B, which reload the whole ledger from .asd/v1/ with asd hydrate on every checkout and merge. On a store that holds more than the sidecar — anything since the last asd sync — that rewrote every entry each time, and before v1.4.7 it re-filed moved entries under their old symbols. asd init installs the current hooks, which import committed conclusions instead.