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

Re: git bisect for reachable commits only

From
Junio C Hamano <gitster@pobox.com>
Date
Jul 29, 2016, 18:03 UTC
Message-ID
<xmqqinvonwxc.fsf@gitster.mtv.corp.google.com>
In-Reply-To
<CABEd3j8VLbpeWbA6BfHYp5aLPEy0PesqYoHM9u4OM=b7Qm=LDg@mail.gmail.com>
Oleg Taranenko <olegtaranenko@gmail.com> writes:
> What I suggest change logic of bisecting to something like
>
>       git config bisect.reachable true
Such a configuration should not be needed.
When a history with this shape is given to "git bisect":
    ----o---o---X---Y---B
         \     /
          o---G

and you gave G as good, and B as bad, it is a BUG that needs to be fixed if bisect strayed outside G, X, Y and B. Setting your new configuration to false would mean "please run a buggy version of bisect", which does not make much sense, I would think.

Previous: Oleg TaranenkoNext: Oleg Taranenko
Message 2 of 14 in “git bisect for reachable commits only”
  1. Oleg TaranenkoJul 29, 2016
  2. Junio C HamanoJul 29, 2016
  3. Oleg TaranenkoJul 31, 2016
  4. Jakub NarębskiJul 31, 2016
  5. Junio C HamanoAug 1, 2016
  6. Oleg TaranenkoAug 1, 2016
  7. Christian CouderAug 1, 2016
  8. Junio C HamanoAug 1, 2016
  9. Christian CouderAug 1, 2016
  10. Junio C HamanoAug 1, 2016
  11. Oleg TaranenkoAug 2, 2016
  12. Stefan BellerAug 2, 2016
  13. Junio C HamanoAug 2, 2016
  14. Oleg TaranenkoAug 4, 2016

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.