Subject: Re: [PATCH 0/4] enhance string-list API to fix sign compare warnings

From: shejialuo <[email-masked]>
Date: Mon, 8 Sep 2025 00:43:58 +0800

On Mon, Sep 08, 2025 at 12:40:16AM +0800, shejialuo wrote:

Please ignore some standalone patches, I wrongly forgot to add
"In-Reply-To" filed.

> 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
>