Re: RFH: Unable to get one big pack
- From
Nicolas Pitre <nico@cam.org>
- Date
- Jun 18, 2009, 16:03 UTC
- Message-ID
- <alpine.LFD.2.00.0906181152120.16467@xanadu.home>
- In-Reply-To
- <e5bfff550906180755i774576c1o1c540224cea675ca@mail.gmail.com>
On Thu, 18 Jun 2009, Marco Costalba wrote:
Show 13 quoted lines
> 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 > $
The -d flag to 'git repack' only deletes old packs.
If you want to remove redundant loose objects then you need to run 'git prune'.
Nicolas