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

Re: git bisect Vs branch

From
Daniel Barkalow <barkalow@iabervon.org>
Date
Oct 23, 2009, 16:31 UTC
Message-ID
<alpine.LNX.2.00.0910231137290.14365@iabervon.org>
In-Reply-To
<4AE17645.2000408@maxim-ic.com>
On Fri, 23 Oct 2009, Grégory Romé wrote:
> Thanks even if that's what scared me :)
> The draw is very simple comparing to the reality (much more merge points) and
> rebase will require lot of conflicts resolutions but now I'm sure that's what
> I have to do.

Alternatively, you could say that your testing procedure is to merge with your branch and check for the regression. Instead of bisecting U''-C'', bisect U'-C', but merge master (or rather, the first parent of the merge that started not working) before testing each commit. Pose the problem as upstream having a regression in that it doesn't work when merged with your code, and solve that problem with bisect.

But, before you start, verify that merging U'' and origin/master doesn't work; if it does work, you recently introduced the change that doesn't work with upstream, and it's probably a lot easier to find what you did that's not okay any more than what made it not okay upstream. That is, make C*; if it works, rebase your recent changes on it and debug that. This should have fewer conflicts and be easier than the full rebase, if C* actually turns out to work:

U'--o-o--C'
 \       |\
  U''-y-y--C''
   \     |
    -----C*--y-y
	-Daniel
*This .sig left intentionally blank*
Previous: Grégory RoméNext: Junio C Hamano
Message 6 of 7 in “git bisect Vs branch”
  1. Grégory RoméOct 22, 2009
  2. Santi BéjarOct 22, 2009
  3. Grégory RoméOct 23, 2009
  4. Johannes SixtOct 23, 2009
  5. Grégory RoméOct 23, 2009
  6. Daniel BarkalowOct 23, 2009
  7. Junio C HamanoOct 23, 2009

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.