aboutsummaryrefslogtreecommitdiffstats
path: root/builtin/commit.c
diff options
context:
space:
mode:
authorRené Scharfe <l.s.r@web.de>2023-02-13 22:09:58 +0100
committerJunio C Hamano <gitster@pobox.com>2023-02-13 13:36:05 -0800
commitd5071be5ed7c2d60fe98e41b46a142f42a36caac (patch)
treefee35eb93b31a7b3f20b7301a590f7c9e956af6b /builtin/commit.c
parentSync with maint-2.38 (diff)
downloadgit-d5071be5ed7c2d60fe98e41b46a142f42a36caac.tar.gz
git-d5071be5ed7c2d60fe98e41b46a142f42a36caac.zip
test-ctype: test isascii
Test the character classifier added by c2e9364a06 (cleanup: add isascii(), 2009-03-07). It returns 1 for NUL as well, which requires special treatment, as our string-based tester can't find it with strcmp(3). Allow NUL to be given as the first character in a class specification string. This has the downside of no longer supporting the empty string, but that's OK since we are not interested in testing character classes with no members. Signed-off-by: René Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions