add function-scope preference for unescaped pathnames
LucasLarson opened this issue · 0 comments
LucasLarson commented
show unescaped pathnames where git is already serving human-friendly content
- add
-c quotePath=false
where git command to target audience-human output instead ofgit status
where scripting is not possible or likely
Where git config
allows for scope-wide preference for escaping “unusual[ly]”1 named paths,2 the same functionality is available on a per-invocation level,3 which allows for temporary syntactic sugar without blindingly blunted defaults (the default behavior is to escape and quote such content, which is the safest and most reasonable default, especially in situations where a machine or other third party might parse the output).
To that end, in the instances where this repository calls for a function-scope -c color.status=always
, it should call also for unescaped pathnames -c core.quotePath=false
.