Regression hunting with git (was: Re: 2.6.13-rc3-mm3)

From: Matthias Urlichs
Date: Fri Jul 29 2005 - 09:14:08 EST


Andrew Morton:
> > Note that if you work from my git import, git has a nice tree bisection
> > option.
> Is that documented anywhere?

Basically, you do this:

$ set -o noclobber
$ git-rev-tree --bisect ^good1 ^good2 bad > .git/refs/heads/tryN
$ git checkout tryN

(Initially, "good" is v2.6.12 or whatever version last worked for you;
"bad" is "master", thus:
$ git-rev-tree --bisect ^v2.6.12 master > .git/refs/heads/tryN

Build kernel, test. If good, add tryN to the list of good kernels, above;
if bad, replace "bad" with "tryN". N += 1. Repeat.

Matthias Urlichs | {M:U} IT Design @ | smurf@xxxxxxxxxxxxxx
Disclaimer: The quote was selected randomly. Really. |
- -
IT'S HERE AT LAST: Rush job; nobody knew it was coming

Attachment: signature.asc
Description: Digital signature