]> git.ipfire.org Git - thirdparty/git.git/commit
CodingGuidelines: use octal escapes, not hex
authorJonathan Tan <jonathantanmy@google.com>
Wed, 14 Jun 2023 21:31:45 +0000 (14:31 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 14 Jun 2023 21:44:19 +0000 (14:44 -0700)
commitf0b68f0546a44e2bc3a764bd75b3aa4418c01601
tree8f2cb302fa97c2cd4741f416fb1f4b49ed260372
parentfe86abd7511a9a6862d5706c6fa1d9b57a63ba09
CodingGuidelines: use octal escapes, not hex

Extend the shell-scripting section of CodingGuidelines to suggest octal
escape sequences (e.g. "\302\242") over hexadecimal (e.g. "\xc2\xa2")
since the latter can be a source of portability problems.

Signed-off-by: Jonathan Tan <jonathantanmy@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/CodingGuidelines