From: Ævar Arnfjörð Bjarmason Date: Fri, 11 Mar 2022 13:44:36 GMT Subject: Re: [PATCH 10/25] bundle: add --filter option to 'fetch' Message-ID: <220311.86h784habh.gmgdl@evledraar.gmail.com> In-Reply-To: On Wed, Feb 23 2022, Derrick Stolee via GitGitGadget wrote: > From: Derrick Stolee > [...] > + /* Skip if filter does not match. */ > + if (!filter && info->filter_str) > + continue; > + if (filter && > + (!info->filter_str || strcasecmp(filter, info->filter_str))) > + continue; General API comment: Do we have a need for strcasecmp() now anywhere when dealing with filters? $ git clone --no-checkout --filter=BlOb:nOnE https://github.com/git/git fatal: invalid filter-spec 'BlOb:nOnE'