git/list[1] front-page[2] threads[3] people[4] search[5] about
 

How to get a directory filled with v2.6.11?

From
MSMarc Singer <elf@buici.com>
Date
Jul 12, 2005, 05:03 UTC
Message-ID
<20050712050347.GA10751@buici.com>

I switched to using the git version in source control. Checkout/branching works great. :-)

But, this version of git doesn't let me do
  # git checkout -f v2.6.11
  error: Object 5dc01c595e6c6ec9ccda4f6f69c131c0dd945f8c is a tree, not a commit
  Needed a single revision

which I suspect is protection added to prevent my special sort of shenanigans. If I cannot perform the checkout anymore, is there another way to fill a directory with the contents of that particular tree?

What am I doing? I've got some updates against 2.6.11 orphaned in another develpment directory. I could just upack a tar.bz2 file for 2.6.11, but git is more clever. I want to perform a diff against the tagged v2.6.11 and my development tree.

Next: Matthias Urlichs
Message 1 of 5 in “How to get a directory filled with v2.6.11?”
  1. Marc SingerJul 12, 2005
  2. Matthias UrlichsJul 12, 2005
  3. Linus TorvaldsJul 13, 2005
  4. Junio C HamanoJul 13, 2005
  5. Linus TorvaldsJul 13, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.