]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'tb/ban-strtok'
authorJunio C Hamano <gitster@pobox.com>
Tue, 2 May 2023 17:13:35 +0000 (10:13 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 2 May 2023 17:13:35 +0000 (10:13 -0700)
Mark strtok() and strtok_r() to be banned.

* tb/ban-strtok:
  banned.h: mark `strtok()` and `strtok_r()` as banned
  t/helper/test-json-writer.c: avoid using `strtok()`
  t/helper/test-oidmap.c: avoid using `strtok()`
  t/helper/test-hashmap.c: avoid using `strtok()`
  string-list: introduce `string_list_setlen()`
  string-list: multi-delimiter `string_list_split_in_place()`

1  2 
builtin/gc.c
diff.c
notes.c
refs/packed-backend.c
t/helper/test-oidmap.c

diff --cc builtin/gc.c
Simple merge
diff --cc diff.c
Simple merge
diff --cc notes.c
Simple merge
Simple merge
Simple merge