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

Re: git bisect problems/ideas

From
Aaron S. Meurer <asmeurer@gmail.com>
Date
Jan 19, 2011, 19:44 UTC
Message-ID
<0253BAE3-90F7-492C-ADF5-8B16DFFA1E44@gmail.com>
In-Reply-To
<AANLkTi=A2Twepg3Jo_VYxtvghkhx6ixcpRH3332BoRQo@mail.gmail.com>
Show 32 quoted lines
>>> Yeah, many people find it difficult to reverse the meaning of "bad"
>>> and "good" when looking for a fix. There were some suggestions at some
>>> points to do something about it. Some of the suggestions were to use
>>> some aliases for "good" and "bad", but there was no agreement. Other
>>> suggestions had a patch attached but the patch was not good enough or
>>> something.
>>> 
>>> Anyway, the restriction is that the "bad" commit cannot be an ancestor
>>> of a "good" commit. But the "good" commits need not be all ancestors
>>> of the "bad" commit. For example if you have a "master" branch and a
>>> "dev" branch that was forked from the "master" branch at one point,
>>> like that:
>>> 
>>> A-B-C-D-E <-- master
>>>     \F-G <-- dev
>>> 
>> 
>> I don't understand how this can only be one way?  Isn't this symmetric?  In
>> other words, how is it different from
>> 
>> A-B-C-D-E <-- dev
>>    \F-G <-- master
>> 
>> as far as bisect is concerned? Or maybe I am not entirely clear on what you
>> are saying.
> 
> Yes, it is symmetric, so we cannot just automatically reverse the
> meanning because there is no "after" or "before" relationship between
> "dev" and "master".
> 
> Best regards,
> Christian.
I think I understand.  What if something works in A, gets broken in C, stays broken in E, but gets fixed in G?  Should it maybe be implied by whichever one is marked as good first, A or G, if you trying to find the fix or the break?
If no, I think --reverse is actually a suitable fix.
Aaron Meurer
Previous: Junio C HamanoNext: Christian Couder
Message 14 of 17 in “git bisect problems/ideas”
  1. Aaron S. MeurerJan 15, 2011
  2. Christian CouderJan 17, 2011
  3. Jonathan NiederJan 17, 2011
  4. SZEDER GáborJan 17, 2011
  5. Jonathan NiederJan 17, 2011
  6. Christian CouderJan 18, 2011
  7. Aaron S. MeurerJan 17, 2011
  8. Aaron S. MeurerJan 17, 2011
  9. Christian CouderJan 18, 2011
  10. Junio C HamanoJan 18, 2011
  11. Christian CouderJan 19, 2011
  12. Aaron S. MeurerJan 19, 2011
  13. Junio C HamanoJan 19, 2011
  14. Aaron S. MeurerJan 19, 2011
  15. Christian CouderJan 21, 2011
  16. Johannes SixtJan 21, 2011
  17. Jakub NarebskiJan 22, 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.