Thread (5 messages) flat view 5 messages, 3 authors, 2016-06-15

Re: help: bisect single file from repos

From: walter harms <hidden>
Date: 2016-06-15 22:47:51


Michael J Gruber schrieb:
walter harms venit, vidit, dixit 07.12.2009 13:59:
quoted
Hi list,
i am new to git (using: git version 1.6.0.2).
though your git is not that new ;)
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help