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

Re: git-bisect not working correctly in the kvm.git repository?

From
Linus Torvalds <torvalds@linux-foundation.org>
Date
Nov 17, 2008, 20:34 UTC
Message-ID
<alpine.LFD.2.00.0811171230500.18283@nehalem.linux-foundation.org>
In-Reply-To
<gfsjjp$o42$1@ger.gmane.org>
On Mon, 17 Nov 2008, walt wrote:
> 
> Okay, that's clearly what's happening to me.  The kvm.git repo
> contains hundred of commits just like that.  How would you deal
> with the same situation?  Is git-bisect skip the easiest way?

Yeah. A much fancier alternative is to do a (temporary) branch that rewrites the history using the same sub-tree merge strategy, so that you can actually build the whole thing in that branch.

This, btw, is why I asked Chris Mason to not do a subtree merge for the btrfs code. I wrote him a helper script to do exactly that with a nice index script for 'git filter-branch'. That way his whole tree is nicely bisectable when merged into the rest of the kernel.

But that's really a rather bigger thing to do, and I'd suggest that only if you really can't find things any other way.

		Linus
Previous: waltNext: Johannes Sixt
Message 4 of 9 in “git-bisect not working correctly in the kvm.git repository?”
  1. waltNov 17, 2008
  2. Linus TorvaldsNov 17, 2008
  3. waltNov 17, 2008
  4. Linus TorvaldsNov 17, 2008
  5. Johannes SixtNov 18, 2008
  6. Avi KivityNov 18, 2008
  7. Christian CouderNov 17, 2008
  8. waltNov 17, 2008
  9. Christian CouderNov 18, 2008

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.