git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: AAARGH bisection is hard (Re: [2.6.39 regression] X locks up hard right after logging in)

From
Linus Torvalds <torvalds@linux-foundation.org>
Date
May 13, 2011, 18:41 UTC
Message-ID
<BANLkTi=smoaARKyzWxFjid-E7qehmyAX8w@mail.gmail.com>
In-Reply-To
<4DCD79A0.7000500@kdbg.org>
On Fri, May 13, 2011 at 11:34 AM, Johannes Sixt <j6t@kdbg.org> wrote:
Show 16 quoted lines
> 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
>>
>>    git 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
>
>   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
Previous: Johannes SixtNext: Johannes Sixt
Message 14 of 18 in “AAARGH bisection is hard (Re: [2.6.39 regression] X locks up hard right after logging in)”
  1. Andrew LutomirskiMay 12, 2011
  2. Linus TorvaldsMay 12, 2011
  3. Johannes SixtMay 12, 2011
  4. Linus TorvaldsMay 12, 2011
  5. Andrew LutomirskiMay 13, 2011
  6. Christian CouderMay 13, 2011
  7. Andrew LutomirskiMay 13, 2011
  8. Andrew LutomirskiMay 13, 2011
  9. Linus TorvaldsMay 13, 2011
  10. Andrew LutomirskiMay 13, 2011
  11. Andrew LutomirskiMay 13, 2011
  12. Linus TorvaldsMay 13, 2011
  13. Johannes SixtMay 13, 2011
  14. Linus TorvaldsMay 13, 2011
  15. Johannes SixtMay 13, 2011
  16. Junio C HamanoMay 13, 2011
  17. Andrew LutomirskiMay 13, 2011
  18. Linus TorvaldsMay 13, 2011

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.