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

Re: Problem with bisect

From
LFLarry Finger <larry.finger@lwfinger.net>
Date
Aug 7, 2007, 02:53 UTC
Message-ID
<46B7DEB5.4060402@lwfinger.net>
In-Reply-To
<200708070350.50419.chriscool@tuxfamily.org>
Christian Couder wrote:
Show 25 quoted lines
> 
> You use "git bisect good v2.6.22", but this is not true because the 
> tag "v2.6.22" is on the mainstream kernel branch and the driver is not 
> there.
> 
> If the v2.6.22 kernel that used to work came directly from John Linville's 
> wireless-dev git tree, not from a patch, then you should find the exact 
> commit in John Linville's tree that worked and say "git bisect good <this 
> commit>".
> 
> But if the driver that worked with a mainstream v2.6.22 kernel had been 
> patched, and now doesn't work when the same patch is applied to mainstream 
> v2.6.23-rc1 kernel, then you can perhaps use:
> 
> git bisect start
> git bisect bad v2.6.23-rc1
> git bisect good v2.6.22
> 
> and then:
> 
> 1) patch the kernel with the driver patch,
> 2) test the patched kernel,
> 3) remove the patch,
> 4) say "git bisect good" or "git bisect bad"
> 5) go to step 1) until the commit that broke the driver is found

Has the ability to use a commit hash to indicate a start point been in git for a long time? I think I remember trying it before when a version tag had not been downloaded and having a failure.

Larry
Previous: Christian CouderNext: Christian Couder
Message 3 of 9 in “Problem with bisect”
  1. Larry FingerAug 5, 2007
  2. Christian CouderAug 7, 2007
  3. Larry FingerAug 7, 2007
  4. Christian CouderAug 7, 2007
  5. Larry FingerAug 5, 2007
  6. Thomas GlanzmannAug 5, 2007
  7. Larry FingerAug 5, 2007
  8. SeanAug 6, 2007
  9. Larry FingerAug 6, 2007

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.