From: Piotr Krukowiecki Date: Tue, 17 Sep 2013 18:12:10 GMT Subject: Re: RFC: git bisect should accept "paths-to-be-excluded" Message-ID: <1496b663-6b6c-45a2-95d1-cbe634b0d160@email.android.com> In-Reply-To: Junio C Hamano napisaƂ: >Yeah, it is easy to say that > > git log -- A ':(exclude)A/B' A/B/C > >has two positive (A, A/B/C) and one negative (A/B), and then the >most specific one A/B/C matches a path A/B/C/D and hence A/B/C/D is >included. > >But to actually _design_ it, there are ambiguities that makes >understanding and explaining the semantics, especially given >pathspecs can have wildcards, icase matches, etc. For example, is >":(exclude,icase)A/B/?" more specific than "A/?/C" or less? What about simply iterating over options in order in which they are specified and the last option that matches specifies the result? -- Piotr Krukowiecki