Skip to contentSkip to conversation

Stupid linux-next git question...

DISCUSSION Valdis Kletnieks 2 participants 2 messages Jul 31, 2013

lore
Share & tools
lore
#0 lore raw

OK... So I have (as usual) found some issues in linux-next, so I'm looking at 3 bisects. I already know that bisecting between (say) next-20130715 and next-20130730 won't work, but bisecting between the 3.11-rc1 base of next-20130715 and next-20130730 *will* work.

Question 1:

Does bisecting between "the HEAD of Linus's tree when a given next- is built" and "some later next-" work? (basically, I know that anything in Linus's tree as of -0715 is 'Good', so I'd rather start from there than from 3.11-rc1 to save several bisects).

Question 2:

If that works, how do I determine the commit ID to feed to 'git bisect good'? I *hope* this in Next/merge.log is the magic I'm looking for:

$ git reset --hard stable
HEAD is now at 6c504ec Merge branch 'drm-fixes' of git://people.freedesktop.org/~airlied/linux
Merging origin/master (5ae90d8 Linux 3.11-rc3)
#1 lore raw

Hi Valdis,

Quoted 6 lines · On Wed, 31 Jul 2013 18:58:13 -0400 Valdis Kletnieks <[email protected]>…

OK... So I have (as usual) found some issues in linux-next, so I'm looking at 3 bisects. I already know that bisecting between (say) next-20130715 and next-20130730 won't work, but bisecting between the 3.11-rc1 base of next-20130715 and next-20130730 *will* work.

Quoted 6 lines

Question 1:

Does bisecting between "the HEAD of Linus's tree when a given next- is built" and "some later next-" work? (basically, I know that anything in Linus's tree as of -0715 is 'Good', so I'd rather start from there than from 3.11-rc1 to save several bisects).

Yes, because that point only moves forward (obviously).

Quoted 8 lines

Question 2:

If that works, how do I determine the commit ID to feed to 'git bisect good'? I *hope* this in Next/merge.log is the magic I'm looking for:

$ git reset --hard stable
HEAD is now at 6c504ec Merge branch 'drm-fixes' of git://people.freedesktop.org/~airlied/linux
Merging origin/master (5ae90d8 Linux 3.11-rc3)

Yes, that, or if you look in Next/SHA1s, my start point in Linus' tree is labelled "origin". Also, it is the "stable" branch in the current linux-next tree (which is moved forward each day).

These are not stupid questions, by the way :-)

Signature · 2 lines
Cheers,
Stephen Rothwell                    [email protected]