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

Re: Feature request: git bisect merge to usable base

From
ALAndy Lutomirski <luto@amacapital.net>
Date
Jan 4, 2016, 22:20 UTC
Message-ID
<CALCETrV_JAEbuU3v+V352_8PVyaB1noGQAfJG+HVVanVpUbRZw@mail.gmail.com>
In-Reply-To
<xmqqa8olnl1r.fsf@gitster.mtv.corp.google.com>
On Mon, Jan 4, 2016 at 12:31 PM, Junio C Hamano <gitster@pobox.com> wrote:
Show 17 quoted lines
> Andy Lutomirski <luto@amacapital.net> writes:
>
>> git bisect run is great, but it's not so great when the test process
>> is "sudo make modules_install && sudo make install && reboot", then
>> boot new kernel, then run emacs, then see if it worked...  There
>> doesn't appear to be a 'git bisect run' option to pause and wait for
>> an explicit user request to continue, unfortunately.
>
> That is expected to be part of your run script, as that is a custom
> and specialized need your bisection has.
>
> It still will not work when the test procedure involves rebooting,
> but "git bisect" does not require you to install and reboot the same
> machine you are running the bisection on, i.e. the test process
> could be "build && scp there && ssh there reboot && see if comes up"
> ;-)
>

All I'm going for is simplicity. I was bisecting on my laptop, and I couldn't reproduce on a VM, so I wasn't going to use 'git bisect run', because git bisect run doesn't support my use case.

Anyway, the idea of merging test commits up to some lowest common denominator seems generally useful to me, and the idea of specifying a 'prepare the checked-out tree' (as you suggested, where 'git merge --no-commit whatever' would be specified) would also be handy, and both of these are useful even in cases where git bisect run isn't being used.

--Andy
Previous: Junio C HamanoNext: Junio C Hamano
Message 6 of 7 in “Feature request: git bisect merge to usable base”
  1. Andy LutomirskiDec 30, 2015
  2. Christian CouderDec 30, 2015
  3. Junio C HamanoDec 30, 2015
  4. Andy LutomirskiJan 4, 2016
  5. Junio C HamanoJan 4, 2016
  6. Andy LutomirskiJan 4, 2016
  7. Junio C HamanoJan 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.