diff options
author | Kristoffer Haugsbakk <code@khaugsbakk.name> | 2023-03-27 22:43:44 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-03-27 23:09:38 +0300 |
commit | d3b3419f8f287cd9d17be30e50937cbc7c4951ff (patch) | |
tree | 0f04d6192f3e6ceaf88a84b6fe2180790ed2a3f4 /config.c | |
parent | 27d43aaaf50ef0ae014b88bba294f93658016a2e (diff) |
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>
Diffstat (limited to 'config.c')
-rw-r--r-- | config.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1686,7 +1686,7 @@ static int git_default_core_config(const char *var, const char *value, void *cb) comment_line_char = value[0]; auto_comment_line_char = 0; } else - return error(_("core.commentChar should only be one character")); + return error(_("core.commentChar should only be one ASCII character")); return 0; } |