Junio C Hamano <gits...@pobox.com> writes:

>       if (p->fixed) {
>               p->kws = kwsalloc(icase ? tolower_trans_tbl : NULL);
>               kwsincr(p->kws, p->pattern, p->patternlen);
>               kwsprep(p->kws);
>               return;
>       } else if (opt->fixed) {
> +             /*
> +              * We only come here when the pattern has the regexp
> +              * special characters in it, which need to be matched
> +              * literally, while ignoring case.
> +              */

This comment is wrong.

                /*
                 * We come here only when the pattern has non-ascii
                 * characters we cannot case-fold, and we were asked
                 * to ignore-case.
                 */

>               compile_fixed_regexp(p, opt);
>               return;
>       }
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to