summaryrefslogtreecommitdiff
path: root/t/helper/test-windows-named-pipe.c
diff options
context:
space:
mode:
authorRené Scharfe <l.s.r@web.de>2020-02-22 18:51:13 (GMT)
committerJunio C Hamano <gitster@pobox.com>2020-02-24 17:30:29 (GMT)
commit2b3c430bcea5d8c40b218c7e2a71d261822c6a52 (patch)
tree82d75d9700fa46318f609e0a63eb2d6987cc2411 /t/helper/test-windows-named-pipe.c
parentd0654dc308b0ba76dd8ed7bbb33c8d8f7aacd783 (diff)
downloadgit-2b3c430bcea5d8c40b218c7e2a71d261822c6a52.zip
git-2b3c430bcea5d8c40b218c7e2a71d261822c6a52.tar.gz
git-2b3c430bcea5d8c40b218c7e2a71d261822c6a52.tar.bz2
quote: use isalnum() to check for alphanumeric characters
isalnum(c) is equivalent to isalpha(c) || isdigit(c), so use the former instead. The result is shorter, simpler and slightly more efficient. Signed-off-by: René Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/helper/test-windows-named-pipe.c')
0 files changed, 0 insertions, 0 deletions