Skip to main content

fixing_enabled

Function fixing_enabled 

Source
pub fn fixing_enabled() -> bool
Expand description

Whether the user asked for checks to repair what they find.

OFF by default. git config amont.fix true turns it on, per repository, because a hook that edits your files without being asked is a larger surprise than one that complains — and because with index fidelity in place the repair lands in the commit you are making, which is a bigger claim to make on somebody’s behalf than printing an error.