Re: Repo of git linux-stable

From: Theodore Ts'o
Date: Sat May 02 2015 - 09:25:10 EST


On Sat, May 02, 2015 at 08:33:15AM -0300, Albino Biasutti Neto wrote:
> 2015-05-02 8:05 GMT-03:00 Richard Weinberger <richard.weinberger@xxxxxxxxx>:
> > Checkout v4.0.1. :)
>
> I downloaded now and compile, after was linux rc-1. I don't understand :-(

The linux stable tree contains many branches. You need to checkout the
one that you care about; that is, do you want the 4.0.y stable tree?
Or the 3.10.y stable tree? Or the 3.14.y stable tree? etc.

It sounds like you did a git clone of the stable tree, and by default
that landed you on the master branch. The master branch at the moment
happens to be pointing at 4.1rc1. I'm not sure why that's the case;
it probably has more to do with Greg K-H's internal workflows, but the
fact is the master branch is not what you want.

You need to explicitly checkout the stable branch that has what you
want. You can either checkout an explicit version, i.e., "git
checkout v4.0.1", or you can checkout the latest 4.0 stable release,
via "git checkout linux-4.0.y".

Or you can set up a local branch, via something like "git branch
my-4.0 linux-4.0.y; git checkout my-4.0". And then in the future a
"git pull" command will update your branch to have the latest 4.0.y
stable release. All of this is basic git commands; I suggest you find
a git tutorial and go through it.

Best regards,

- Ted
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/