Re: How in tarnation do I git v2.6.16-rc2? hg died and I still don't git git

From: Mattia Dongili
Date: Wed Feb 08 2006 - 10:13:28 EST


Hello,

On Wed, Feb 08, 2006 at 07:03:01AM -0800, Paul Jackson wrote:
> I'm trying to git a copy of Linus's tree, checked out only up
> through revision v2.6.16-rc2, so that I can lay down Andrew's
> latest broken-out quilt patch set for 2.6.16-rc2-mm1 on top of it.
[...]
> But how in tarnation do I git a checked out copy/clone/whatever of
> Linus's tree that only has the changes up through revision v2.6.16-rc2
> (that doesn't include changes since then)?

I usually create a branch for each -mm release and add there all the
patches, eg:
git checkout -f -b v2.6.16-rc2-mm1 v2.6.16-rc2

then do something like:
while [ $(quilt next) ] ; do \
quilt push && git add && git commit -a -m "$(quilt top)"; \
done

as an alternative you canprobably checkout HEAD and git-reset --hard to
the wanted commit.

hth
--
mattia
:wq!
-
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/