Re: git pull for update of netdev fails.
- From
Shawn Pearce <spearce@spearce.org>
- Date
- Sep 20, 2006, 21:21 UTC
- Message-ID
- <20060920212101.GA24415@spearce.org>
- In-Reply-To
- <Pine.LNX.4.63.0609202304270.19042@wbgn013.biozentrum.uni-wuerzburg.de>
Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:
Show 5 quoted lines
> Another, even more serious problems with rebasing: You can introduce a bug > by rebasing. Meaning: git-rebase can succeed, even compilation is fine, > but the sum of your patches, and the patches you are rebasing on, is > buggy. And there is _no_ way to bisect this, since the "good" version can > be gone for good.
True, however one would hope that you tested the commit before you rebased it and found it to working. And bisect should point at the new version of that commit as the break. And then you can debug it there.
I've seen this happen very rarely, and usually its an initialization or calling order type of bug and its usually has more to do with other changes in the branch you are rebasing onto that aren't at the side your patch affects.
Yes its something annoying to track down but certainly easy enough with bisect, especially if you have relatively fine-grained commits and a reasonably good test suite.
-- Shawn.