summaryrefslogtreecommitdiff
path: root/commit-graph.c
diff options
context:
space:
mode:
authorUsman Akinyemi <usmanakinyemi202@gmail.com>2025-02-15 21:20:47 +0530
committerJunio C Hamano <gitster@pobox.com>2025-02-18 09:05:12 -0800
commit0c124cba5435c59591da7c91e16bbd901a518bd4 (patch)
tree207b7af6810c4fdca0af5c38a5158150b155037f /commit-graph.c
parente63e62171b489dad8ae9d8bd4675b1938bff92c8 (diff)
version: replace manual ASCII checks with isprint() for clarity
Since the isprint() function checks for printable characters, let's replace the existing hardcoded ASCII checks with it. However, since the original checks also handled spaces, we need to account for spaces explicitly in the new check. Mentored-by: Christian Couder <chriscool@tuxfamily.org> Signed-off-by: Usman Akinyemi <usmanakinyemi202@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit-graph.c')
0 files changed, 0 insertions, 0 deletions