Expand description
C-style path quoting compatible with Git’s quote.c / core.quotepath.
Git quotes pathnames for human-facing output (ls-files, diff --name-only,
ls-tree --name-only) using a byte lookup table and optional full octal
escaping for non-ASCII bytes when quote_path_fully is set (core.quotepath,
default true).
Functions§
- quote_
c_ style - Quote
pathin Git C style when needed, matchingquote_c_style+core.quotepath.