Re: v2.6.11 tag in kernel tree

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linus Torvalds
Date: Thursday, November 30, 2006 - 9:04 am

On Wed, 29 Nov 2006, Jon Smirl wrote:

Yes. We don't have that as a commit. The commit history starts with 
v2.6.12-rc2.


You can't check it out, since it's not a commit, but since it is a tree, 
you can:

 - use it as a base for "git diff"

	git diff v2.6.11 <any-commit-goes-here>

 - or if you want to use it as a base for development, create a new commit 
   and branch from it:

	git-commit-tree v2.6.11 <<EOF
	This is an initial commit starting at the state of Linux-v2.6.11
	EOF

   and then you can take the resulting SHA1 (that it wrote out to stdout), 
   and do

	git checkout -b my-new-branch <sha1thatyoujustgot>

However, whatever you do, it won't be connected to the rest of the git 
history.

Another possibility may be to get the historical Linux tree (which _does_ 
have a real v2.6.11, and that you _can_ graft together with the current 
tree, and thus get full history), and then use that grafted whole-history 
tree for whatever you want to do. That allows you to do things like 
rebasing the end result (if you started a new branch based on 2.6.11) etc, 
since it's now all connected.

		Linus
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
v2.6.11 tag in kernel tree, Jon Smirl, (Wed Nov 29, 9:02 pm)
Re: v2.6.11 tag in kernel tree, Junio C Hamano, (Wed Nov 29, 9:22 pm)
Re: v2.6.11 tag in kernel tree, Linus Torvalds, (Thu Nov 30, 9:04 am)
Re: v2.6.11 tag in kernel tree, Jon Smirl, (Thu Nov 30, 12:11 pm)