Skip to content

Commit d3b3419

Browse files
LemmingAvalanchegitster
authored andcommitted
config: tell the user that we expect an ASCII character
Commit 50b54fd (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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 27d43aa commit d3b3419

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1686,7 +1686,7 @@ static int git_default_core_config(const char *var, const char *value, void *cb)
16861686
comment_line_char = value[0];
16871687
auto_comment_line_char = 0;
16881688
} else
1689-
return error(_("core.commentChar should only be one character"));
1689+
return error(_("core.commentChar should only be one ASCII character"));
16901690
return 0;
16911691
}
16921692

0 commit comments

Comments
 (0)