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

Re: Git unpack-objects on Windows

From
Johannes Sixt <j.sixt@viscovery.net>
Date
Jan 13, 2011, 12:30 UTC
Message-ID
<4D2EF04B.20108@viscovery.net>
In-Reply-To
<1294916875939-5917819.post@n2.nabble.com>
Am 1/13/2011 12:07, schrieb Kevin Sheedy:
Show 14 quoted lines
> 
> I'm trying to import a cvs repository into git using cvs2git. After running
> cvs2git, I'm left with a git pack file. I'm now trying to unpack this file
> using:
> 
> git unpack-objects < myfile.pack
> 
> Or to be more exact:
> 
> $ git unpack-objects <
> "C:/dev/cvsToGitWorkingRepository/.git/objects/pack/pack-479ea920f4a7389f8a52eb6062.pack"
> Unpacking objects: 100% (66409/66409), done.
> 
> It looks like it worked except I'm not getting any unpacked files.

Only objects are unpacked that are not already in the object store. Since you did not move the pack file (and its index) away from the object store, none of its objects needed to be unpacked.

IOW, you observed expected behavior.
Why do you want to unpack some 66000 objects, I have to wonder?
-- Hannes
Previous: Kevin SheedyNext: Kevin Sheedy
Message 2 of 4 in “Git unpack-objects on Windows”
  1. Kevin SheedyJan 13, 2011
  2. Johannes SixtJan 13, 2011
  3. Kevin SheedyJan 13, 2011
  4. Jonathan NiederJan 13, 2011

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.