pub fn has_status_hints_override(global_prefix: &[OsString]) -> boolExpand description
What:
Whether the caller configured advice.statusHints in the global options before
the subcommand.
global_prefix is exactly those tokens.
Why:
git -c advice.statusHints=true status keeps Git’s hints;
the wrapper neither
overrides the choice nor adds its own note.
Gotcha:
Divergence from the incumbent:
--config-env sets the same key and counts too.
In TS you’d write (pseudocode):
function parseStatusPreRegion(pre: readonly string[]): { hasStatusHintsOverride: boolean };