From: shejialuo Date: Sun, 07 Sep 2025 16:40:16 GMT Subject: [PATCH 0/4] enhance string-list API to fix sign compare warnings Message-ID: Hi All: This is a small PATCH to enhance string-list API "string_list_find_insert_index" which has introduced sign compare warnings. Thanks, Jialuo shejialuo (4): string-list: allow passing NULL for `get_entry_index` string-list: replace negative index encoding with "exact_match" parameter string-list: change "string_list_find_insert_index" return type to "size_t" refs: enable sign compare warnings check add-interactive.c | 7 ++++--- mailmap.c | 10 ++++------ refs.c | 13 ++++--------- string-list.c | 16 +++++++--------- string-list.h | 4 ++-- 5 files changed, 21 insertions(+), 29 deletions(-) -- 2.51.0