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

Re: help: bisect single file from repos

From
WHwalter harms <wharms@bfs.de>
Date
Dec 7, 2009, 16:05 UTC
Message-ID
<4B1D27B6.7010900@bfs.de>
In-Reply-To
<4B1D1A5A.9060004@drmicha.warpmail.net>
Michael J Gruber schrieb:
Show 18 quoted lines
> walter harms venit, vidit, dixit 07.12.2009 13:59:
>> Hi list,
>> i am new to git (using: git version 1.6.0.2).
> 
> though your git is not that new ;)
> 
>> I would like to bisect a single file but i have only commit id, no tags.
>>
>> Background:
>> I have a copy of the busybox git repos, and i know there is (perhaps) a bug
>> in ash.c.
>>
>> how can i do that ?
> 
> You don't need any tags for bisecting. The man page of git-bisect has
> several examples on how to use it. Do you have a test script which
> exposes the bug?
> 

unfortunately no, the error shows up very nicely when booting my embdedded system but not else (this is the reason i would to bisect that file only and not busybox completely). And from the man pages i got the impression that it is only possible the start with a tag.

i already had the hint that i need to do: git bisect start bad_commit_id good_commit_id -- ash.c

Ntl, there is one more question, how can i make sure that i use the right version ? first i toughed that cherry-pick is the right idea but it seems that that will apply onyl certain patches ?

re,
 wh
Previous: Michael J GruberNext: Christian Couder
Message 3 of 10 in “help: bisect single file from repos”
  1. walter harmsDec 7, 2009
  2. Michael J GruberDec 7, 2009
  3. walter harmsDec 7, 2009
  4. Christian CouderDec 8, 2009
  5. walter harmsDec 8, 2009
  6. Junio C HamanoDec 8, 2009
  7. SZEDER GáborDec 9, 2009
  8. Nanako ShiraishiDec 9, 2009
  9. SZEDER GáborDec 9, 2009
  10. walter harmsDec 9, 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.