pub fn validate_global_pathspec_flags() -> Result<(), String>
Validates global pathspec environment flags the same way Git does.
Returns an error message suitable for bail! when flags are incompatible.
bail!