From: Eric Sunshine Date: Mon, 14 Jul 2025 16:46:02 GMT Subject: Re: [PATCH 2/3] git-compat-util: convert string predicates to return bool Message-ID: In-Reply-To: On Mon, Jul 14, 2025 at 9:31 AM Phillip Wood wrote: > Since 8277dbe987 (git-compat-util: convert skip_{prefix,suffix}{,_mem} > to bool, 2023-12-16) a number of our sting predicates have been s/sting/string/ > returning bool instead of int. Now we've declared that experiment > a success lets convert the return type the case independent s/lets/let's/ /type/& of/ > skip_iprefix() and skip_iprefix_mem() functions to match the return > type of their case dependent equivalents. Returning bool instead of > int makes it clear that these functions are predicates. > > Signed-off-by: Phillip Wood