lkml.org 
[lkml]   [2005]   [Jul]   [29]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateFri, 29 Jul 2005 16:12:28 +0200
SubjectRegression hunting with git (was: Re: 2.6.13-rc3-mm3)
FromMatthias Urlichs <>
Hi,

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

http://lkml.org/lkml/2005/6/24/234


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 @ m-u-it.de   |  smurf@smurf.noris.de
Disclaimer: The quote was selected randomly. Really. | http://smurf.noris.de
 - -
IT'S HERE AT LAST: Rush job; nobody knew it was coming[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-07-29 16:16    [from the cache]
©2003-2008