Skip to main content

conventions_apply

Function conventions_apply 

Source
pub fn conventions_apply(manifest: &Manifest) -> bool
Expand description

Do this repository’s hooks apply the CONVENTIONS, or only the safety net?

git config amont.conventions declared (usually --global, set by amont enroll) scopes the house rules to repositories that commit an amont.conf — the standing grant of init.templateDir then becomes safe to hand a whole team: a clone of somebody else’s project gets conflict, secret, size and debug-leftover protection, and none of this team’s opinions about commit subjects or branch names. The default, everywhere, keeps today’s behaviour exactly.

Presence of the manifest is the declaration; its CONTENT stays trust-gated. Reading presence executes nothing, so no consent is needed.