Re: git bisect Vs branch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 23 Oct 2009, Grégory Romé wrote:

> Thanks even if that's what scared me :)
> The draw is very simple comparing to the reality (much more merge points) and
> rebase will require lot of conflicts resolutions but now I'm sure that's what
> I have to do.

Alternatively, you could say that your testing procedure is to merge with 
your branch and check for the regression. Instead of bisecting U''-C'', 
bisect U'-C', but merge master (or rather, the first parent of the merge 
that started not working) before testing each commit. Pose the problem as 
upstream having a regression in that it doesn't work when merged with your 
code, and solve that problem with bisect.

But, before you start, verify that merging U'' and origin/master doesn't 
work; if it does work, you recently introduced the change that doesn't 
work with upstream, and it's probably a lot easier to find what you did 
that's not okay any more than what made it not okay upstream. That is, 
make C*; if it works, rebase your recent changes on it and debug that. 
This should have fewer conflicts and be easier than the full rebase, if C* 
actually turns out to work:

U'--o-o--C'
 \       |\
  U''-y-y--C''
   \     |
    -----C*--y-y

	-Daniel
*This .sig left intentionally blank*

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]