Skip to main content

pathspec_precompose_enabled

Function pathspec_precompose_enabled 

Source
pub fn pathspec_precompose_enabled() -> bool
Expand description

NFC-normalize for pathspec comparisons when the repo opts into precomposed Unicode storage.

Memoized for the process lifetime: cwd and the config cascade are fixed before any pathspec matching runs, and this is called from per-entry hot loops (status/add pathspec matching) where re-walking to the git dir and re-parsing config files per call dominated the profile.