Re: What's cooking in git.git (Apr 2017, #04; Wed, 19)
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Apr 24, 2017, 14:24 UTC
- Message-ID
- <alpine.DEB.2.20.1704241622510.3480@virtualbox>
- In-Reply-To
- <a9685abc-50ad-3ee6-3384-0e043d205612@kdbg.org>
Hi Hannes,
On Sat, 22 Apr 2017, Johannes Sixt wrote:
Show 15 quoted lines
> Am 21.04.2017 um 14:29 schrieb Christian Couder: > > First bisect should ask you to test merge bases only if there are > > "good" commits that are not ancestors of the "bad" commit. > > That's a tangent, but I have never understood why this needs to be so. > Consider this: > > o--o--o--o--o--o--o--o--B > / / > -o--o--o--o--g--o--o--o--o--G > > When I mark B as bad and G as good, why would g have to be tested first? This > is exactly what I do when I bisect in Git history: I mark the latest commits > on git-gui and gitk sub-histories as good, because I know they can't possibly > be bad. (In my setup, these two histories are ahead of pu and next.)
I guess the idea behind bisect's reasoning is that you could have merged the "wrong" branch first.
Ciao, Dscho