git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: "Manuel Bärenz" <manuel@enigmage.de>
To: Philip Oakley <philipoakley@iee.email>,
	Christian Couder <christian.couder@gmail.com>
Cc: git <git@vger.kernel.org>
Subject: Re: Feature request: Exponential search in git bisect
Date: Sun, 1 Nov 2020 21:17:59 +0100	[thread overview]
Message-ID: <a03a9674-921e-d8f4-19f8-ca60aa4a473a@enigmage.de> (raw)
In-Reply-To: <b1adedaa-5809-9ea1-f664-3a7cabaf0d14@iee.email>


On 25.10.20 18:15, Philip Oakley wrote:
> Hi Manuel,
>
> On 10/10/2020 10:22, Christian Couder wrote:
>> On Fri, Oct 9, 2020 at 9:35 PM Manuel Bärenz <manuel@enigmage.de> wrote:
>>> This feature was requested 8 years ago and briefly discussed:
>>> https://public-inbox.org/git/20120318212957.GS1219@chaosreigns.com/
>>>
>>>
>>>   TL;DR
>>>
>>> Before doing git bisect, I want to use exponential search to
>>> automatically find a good commit, in logarithmic time.
>> Ok, but the conclusion of the above discussion is that the problem
>> with this idea is being able to distinguish between a commit that is
>> bad and a commit where the feature that you want to test cannot be
>> tested for example because it hasn't been implemented yet.
> Does any of the proposed improvement in the "bisect: loosen halfway()
> check for a large number of commits"
> https://lore.kernel.org/git/20201022103806.26680-1-szeder.dev@gmail.com/
> assist in this.

I'm afraid not, since the time to recompile and run tests usually
dominates the search (at least in my case). So the fewer commits have to
be tested, the better.

The hard part is distinguishing in an automated way on an old commit
when to skip and when to mark as good.



  parent reply	other threads:[~2020-11-01 20:51 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-09 12:56 Feature request: Exponential search in git bisect Manuel Bärenz
2020-10-10  9:22 ` Christian Couder
2020-10-10  9:46   ` Christian Couder
2020-10-25 17:15   ` Philip Oakley
2020-10-26 18:13     ` Junio C Hamano
2020-10-26 20:59       ` Philip Oakley
2020-11-01 20:17     ` Manuel Bärenz [this message]
2020-10-27 12:10 ` Ævar Arnfjörð Bjarmason
2020-11-01 20:30   ` Manuel Bärenz
2020-11-02 10:36     ` Ævar Arnfjörð Bjarmason

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: http://vger.kernel.org/majordomo-info.html

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a03a9674-921e-d8f4-19f8-ca60aa4a473a@enigmage.de \
    --to=manuel@enigmage.de \
    --cc=christian.couder@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=philipoakley@iee.email \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).