From: Jakub Narebski Date: Tue, 26 Jul 2011 07:43:40 GMT Subject: Re: [RFC 0/9] bisect: allow git bisect to be used with repos containing damaged trees. Message-ID: In-Reply-To: Jon Seymour writes: > On Tue, Jul 26, 2011 at 4:48 AM, Johannes Sixt wrote: >> Am 25.07.2011 11:28, schrieb Jon Seymour: >>> On Mon, Jul 25, 2011 at 4:35 AM, Junio C Hamano wrote: >>>> Jon Seymour writes: >> >> The fundamental preconditions of bisection are: that there is a single >> event in the sequence, and that the effects of the event propagate to >> the end of the sequence. > > More correctly: the fundamental pre-condition of a single round of > bisection finding an event of interest is as you say. > > There is nothing that prevents multiple rounds of bisection being > used, if required. No, it is not true. Think of bisection as in original application, as numerical methods used to find root of one dimensional function. It works if there is single root between starting endpoints, or rather if endpoints have different signs. Which means that it works in this case: bad bad bad BAD good good good but won't work in this case: good good good good good good bad bad bad -- Jakub Narębski