summaryrefslogtreecommitdiff
path: root/commit.c
diff options
context:
space:
mode:
authorTaylor Blau <me@ttaylorr.com>2023-04-24 18:20:17 -0400
committerJunio C Hamano <gitster@pobox.com>2023-04-24 16:01:28 -0700
commit826f0e33ab0cbe976af02dd487303e4d1a0b3017 (patch)
tree833d76ae6d29628897373357ad94f4019828c457 /commit.c
parent492ba81346cc45322d0c26bc927b01a34becf304 (diff)
t/helper/test-hashmap.c: avoid using `strtok()`
Avoid using the non-reentrant `strtok()` to separate the parts of each incoming command. Instead of replacing it with `strtok_r()`, let's instead use the more friendly pair of `string_list_split_in_place()` and `string_list_remove_empty_items()`. Signed-off-by: Taylor Blau <me@ttaylorr.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions