Subject: Re: [PATCH 2/6] CodingGuidelines: quote assigned value in 'local var=$val'

From: Junio C Hamano <[email-masked]>
Date: Fri, 05 Apr 2024 19:29:53 -0700

<[email-masked]> writes:

>>  - Use octal escape sequences (e.g. "\302\242"), not hexadecimal (e.g.
>>    "\xc2\xa2") in printf format strings, since hexadecimal escape
>>    sequences are not portable.
>
> I can confirm, at least for the set of platforms I work on, that printf with
> hex values is definitely not portable.

Sure, that is why we have that rule that we see in the context.