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

Re: git-unpack-objects

From
JBJosh Boyer <jwboyer@gmail.com>
Date
May 3, 2006, 17:35 UTC
Message-ID
<625fc13d0605031035l721ab08dmee6f870abb49f4e4@mail.gmail.com>
In-Reply-To
<7vu089qr4t.fsf@assigned-by-dhcp.cox.net>
On 5/1/06, Junio C Hamano <junkio@cox.net> wrote:
Show 9 quoted lines
>
> unpack tries to unpack and if it already has the object it
> skips.
>
> If you really wanted to do it, here is a way to do so.
>
>         mv .git/objets/pack/pack-49*.pack \
>                 .git/objets/pack/pack-49*.idx .
>         git unpack-objects <pack-49*.pack

Hm.. so it seems that git-unpack-objects is more intended to unpack a pack one has gotten with git-fetch-pack, right?

I was looking for something more along the lines of an "un-git-repack", where you have existing pack(s) and want to undo them. Maybe you want to repack everything into a single pack or something like that.

josh
Previous: Junio C HamanoNext: Linus Torvalds
Message 3 of 9 in “git-unpack-objects”
  1. Josh BoyerMay 1, 2006
  2. Junio C HamanoMay 1, 2006
  3. Josh BoyerMay 3, 2006
  4. Linus TorvaldsMay 3, 2006
  5. Josh BoyerMay 3, 2006
  6. Linus TorvaldsMay 3, 2006
  7. Josh BoyerMay 4, 2006
  8. Marco RoelandMay 4, 2006
  9. Josh BoyerMay 4, 2006

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.