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

Re: RFH: Unable to get one big pack

From
MCMarco Costalba <mcostalba@gmail.com>
Date
Jun 18, 2009, 17:13 UTC
Message-ID
<e5bfff550906181013o7c5140bes187e2062126075d9@mail.gmail.com>
In-Reply-To
<81b0412b0906180840y62d5c382ha47aebcda3e610f1@mail.gmail.com>
On Thu, Jun 18, 2009 at 16:40, Alex Riesen<raa.lkml@gmail.com> wrote:
Show 17 quoted lines
> 2009/6/18 Marco Costalba <mcostalba@gmail.com>:
>> Sorry for the silly question, but I have tried anything to get one big
>> pack instead of many objects.
>>
>> I tried git repack but with no success:
>>
>> $ git repack -adf
>> Counting objects: 3317, done.
>> Compressing objects: 100% (3317/3317), done.
>> Writing objects: 100% (3317/3317), done.
>> Total 3317 (delta 2607), reused 0 (delta 0)
>> $ ls -R .git/objects | wc -l
>>  519
>> $
>
> git gc && git prune
>
Thanks to you and Nicolas for the hint. It worked.
If I can make a suggestion: description of git-repack is a bit misleading
"git-repack(1)

This script is used to combine all objects that do not currently reside in a "pack", into a pack. It can also be used to re-organize existing packs into a single, more efficient pack."

Previous: Alex RiesenNext: Nicolas Pitre
Message 3 of 4 in “RFH: Unable to get one big pack”
  1. Marco CostalbaJun 18, 2009
  2. Alex RiesenJun 18, 2009
  3. Marco CostalbaJun 18, 2009
  4. Nicolas PitreJun 18, 2009

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.