Skip to contentSkip to conversation

how to use git bisect on such seanario

DISCUSSION bill4carson 2 participants 3 messages Dec 24, 2012

lore
Share & tools
lore
#0 lore raw

Hi, list

Usually, we use git bisect to identify which commit causes trouble,

while how do I do when need to find out which commit solve problem? for example, it's know there is an bug since commit A, but I find out the newest version (commit B)is good, so one commit between commit A and B solve the problem,

thanks

Signature · 3 lines
?????????

--bill
#1 lore raw

It should work the same way as for finding a bug. Only the "bad" commit would simply be the one to solve the bug

Quoted 15 lines · On Sunday, December 23, 2012, bill4carson <[email protected]> wrote:

Hi, list

Usually, we use git bisect to identify which commit causes trouble,

while how do I do when need to find out which commit solve problem? for example, it's know there is an bug since commit A, but I find out the newest version (commit B)is good, so one commit between commit A and B solve the problem,

thanks

--
?????????

Quoted 7 lines

--bill

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies at kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20121223/da78e980/attachment.html

#2 lore raw

thanks, I know what you mean, let the good be "bad",and the bad be "good"????

Quoted 25 lines · Subramaniam Appadodharana

It should work the same way as for finding a bug. Only the "bad" commit would simply be the one to solve the bug

Quoted 22 lines · On Sunday, December 23, 2012, bill4carson <bill4carson at gmail.com…

Hi, list

Usually, we use git bisect to identify which commit causes trouble,

while how do I do when need to find out which commit solve problem? for example, it's know there is an bug since commit A, but I find out the newest version (commit B)is good, so one commit between commit A and B solve the problem,

thanks

--
?????????

--bill

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies at kernelnewbies.org <mailto:[email protected]>
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Signature · 3 lines
?????????

--bill