LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-05-2014, 11:59 AM   #1
lordadamson
Member
 
Registered: Nov 2013
Location: Egypt
Distribution: Fedora
Posts: 32

Rep: Reputation: Disabled
git bisect the kernel, confused with version tags


Maybe that's a bit advanced topic to be in the newbies section but I place it in here because I am a newbie, and I think it is to a great extent a newbie question.

I'm doing a git bisect on the kernel trying to trace a commit that causes a bug.

the bug is supposed to be somewhere between v3.12.9 and v3.13

but when I run
Code:
git bisect start v3.13 v3.12.9
I get

Code:
Bisecting: a merge base must be tested
[5e01dc7b26d9f24f39abace5da98ccbd6a5ceb52] Linux 3.12
Now how does that make sense? isn't it supposed to get me to a commit that is in the middle between 3.12.9 and 3.13?
is 3.12 actually a commit in between and I just don't understand the numberings right?
am I doing something wrong?
 
Old 12-05-2014, 12:21 PM   #2
lordadamson
Member
 
Registered: Nov 2013
Location: Egypt
Distribution: Fedora
Posts: 32

Original Poster
Rep: Reputation: Disabled
okay, I found the answer here

Why does "git bisect" make me test versions outside the "good-bad" range?

The reason may be that some commits have been developed starting from a version before the "good" commit, and then merged after the "good" commit.

See http://thread.gmane.org/gmane.comp.v...67/focus=99977 for more explanations from Linus.
 
  


Reply

Tags
git, kernel, version


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Is it safe to do 'git bisect' several time on kernel sam-the-6 Linux - Kernel 6 08-03-2014 05:59 PM
[SOLVED] drm-intel git tags too old 10110111 Programming 1 11-13-2010 04:16 PM
LXer: Linux: Debugging With"git bisect" LXer Syndicated Linux News 0 07-13-2007 09:01 PM
SW 10.2 Kernel Version Confused zaimor Slackware - Installation 6 10-30-2005 01:15 AM


All times are GMT -5. The time now is 02:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration