pub fn parse_bool(s: &str) -> Result<bool, String>Expand description
Parse a Git boolean value.
Accepts: true, yes, on, 1 as true.
Accepts: false, no, off, 0 as false.
Note: bare config keys are represented as None in ConfigEntry and
are normalized to "true" by higher-level readers (ConfigSet::get).
An explicit empty assignment (key = with no value) is stored as "" and
is treated as true for --bool / parse_bool, consistent with bare keys
(implicit true) and the harness expectations for config --bool.