config: tell the user that we expect an ASCII character
commitd3b3419f8f287cd9d17be30e50937cbc7c4951ff
authorKristoffer Haugsbakk <code@khaugsbakk.name>
Mon, 27 Mar 2023 19:43:44 +0000 (27 21:43 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 27 Mar 2023 20:09:38 +0000 (27 13:09 -0700)
tree0f04d6192f3e6ceaf88a84b6fe2180790ed2a3f4
parent27d43aaaf50ef0ae014b88bba294f93658016a2e
config: tell the user that we expect an ASCII character

Commit 50b54fd72a (config: be strict on core.commentChar, 2014-05-17)
notes that “multi-byte character encoding could also be misinterpreted”,
and indeed a multi-byte codepoint (non-ASCII) is not accepted as a valid
`core.commentChar`.

Signed-off-by: Kristoffer Haugsbakk <code@khaugsbakk.name>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
config.c