From mboxrd@z Thu Jan 1 00:00:00 1970 From: Linus Torvalds Subject: Re: AAARGH bisection is hard (Re: [2.6.39 regression] X locks up hard right after logging in) Date: Fri, 13 May 2011 11:41:46 -0700 Message-ID: References: <4DCD79A0.7000500@kdbg.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: Andrew Lutomirski , Christian Couder , linux-kernel@vger.kernel.org, netdev@vger.kernel.org, git@vger.kernel.org, Shuang He To: Johannes Sixt Return-path: In-Reply-To: <4DCD79A0.7000500@kdbg.org> Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org On Fri, May 13, 2011 at 11:34 AM, Johannes Sixt wrote: > Am 13.05.2011 19:54, schrieb Linus Torvalds: >> For example, in your case, since you had certain requirements of >> support that simply didn't exist earlier, something like >> >> =A0 =A0git bisect requires v2.6.38 >> >> would have been really useful - telling git bisect that any commit >> that cannot reach that required commit is not even worth testing. > > You can already have this with > > =A0 git bisect good v2.6.38 > > It sounds a bit unintuitive, but with a slight mind-twist it can even= be > regarded as correct in a mathematical sense: when the precondition is > false, the result is true. ;-) No. That's not the same thing AT ALL. When you say that v2.6.38 is good, that means that everything that can be reached from 2.6.38 is good. NOT AT ALL the same thing as "git bisect requires v2.6.38" would be. The "requires v2.6.38" would basically say that anything that doesn't contain v2.6.38 is "off-limits". It's fine to call them "good", but that's not the same thing as "git bisect good v2.6.38". Why? Think about it. It's the "reachable from v2.6.38" vs "cannot reach v2.6.38" difference. That's a HUGE difference. Linus