Subject: Re: \b character escapes in CLI usage

From: Junio C Hamano <[email-masked]>
Date: Wed, 26 Feb 2025 15:55:09 -0800

"brian m. carlson" <[email-masked]> writes:

> We already have precedent for this in core.quotePath and could easily
> use similar logic here.  That format, while using octal, which I find
> ugly and hard to read, does have the pleasant side effect that it works
> correctly with POSIX printf(1) (which I'm sure was intentional), unlike
> hex escapes.

It was intended to be "the normal C quoting":

https://lore.kernel.org/git/[email-masked]/