{"thread":{"id":"19854","subject":"RFH: Unable to get one big pack","startedAt":"2009-06-18T14:55:55Z","lastAt":"2009-06-18T17:13:35Z","messageCount":4,"participants":["Marco Costalba","Alex Riesen","Nicolas Pitre"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"116577","messageId":"e5bfff550906180755i774576c1o1c540224cea675ca@mail.gmail.com","threadId":"19854","inReplyTo":null,"subject":"RFH: Unable to get one big pack","fromName":"Marco Costalba","fromEmail":"mcostalba@gmail.com","sentAt":"2009-06-18T14:55:55Z","receivedAt":"2009-06-18T14:55:55Z","isPatch":false,"sender":{"key":"mcostalba@gmail.com","avatar":null},"body":"Sorry for the silly question, but I have tried anything to get one big\npack instead of many objects.\n\nI tried git repack but with no success:\n\n$ git repack -adf\nCounting objects: 3317, done.\nCompressing objects: 100% (3317/3317), done.\nWriting objects: 100% (3317/3317), done.\nTotal 3317 (delta 2607), reused 0 (delta 0)\n$ ls -R .git/objects | wc -l\n  519\n$\n\nThanks in advance for your kind help\nMarco\n\nBTW I have trid also git prune in any way but without succes either.\n"},{"id":"116578","messageId":"81b0412b0906180840y62d5c382ha47aebcda3e610f1@mail.gmail.com","threadId":"19854","inReplyTo":"e5bfff550906180755i774576c1o1c540224cea675ca@mail.gmail.com","subject":"Re: RFH: Unable to get one big pack","fromName":"Alex Riesen","fromEmail":"raa.lkml@gmail.com","sentAt":"2009-06-18T15:40:30Z","receivedAt":"2009-06-18T15:40:30Z","isPatch":false,"sender":{"key":"raa.lkml@gmail.com","avatar":"https://avatars.githubusercontent.com/u/324101?v=4"},"body":"2009/6/18 Marco Costalba <mcostalba@gmail.com>:\n> Sorry for the silly question, but I have tried anything to get one big\n> pack instead of many objects.\n>\n> I tried git repack but with no success:\n>\n> $ git repack -adf\n> Counting objects: 3317, done.\n> Compressing objects: 100% (3317/3317), done.\n> Writing objects: 100% (3317/3317), done.\n> Total 3317 (delta 2607), reused 0 (delta 0)\n> $ ls -R .git/objects | wc -l\n>  519\n> $\n\ngit gc && git prune\n"},{"id":"116580","messageId":"alpine.LFD.2.00.0906181152120.16467@xanadu.home","threadId":"19854","inReplyTo":"e5bfff550906180755i774576c1o1c540224cea675ca@mail.gmail.com","subject":"Re: RFH: Unable to get one big pack","fromName":"Nicolas Pitre","fromEmail":"nico@cam.org","sentAt":"2009-06-18T16:03:03Z","receivedAt":"2009-06-18T16:03:03Z","isPatch":false,"sender":{"key":"nico@fluxnic.net","avatar":"https://avatars.githubusercontent.com/u/702790?v=4"},"body":"On Thu, 18 Jun 2009, Marco Costalba wrote:\n\n> Sorry for the silly question, but I have tried anything to get one big\n> pack instead of many objects.\n> \n> I tried git repack but with no success:\n> \n> $ git repack -adf\n> Counting objects: 3317, done.\n> Compressing objects: 100% (3317/3317), done.\n> Writing objects: 100% (3317/3317), done.\n> Total 3317 (delta 2607), reused 0 (delta 0)\n> $ ls -R .git/objects | wc -l\n>   519\n> $\n\nThe -d flag to 'git repack' only deletes old packs.\n\nIf you want to remove redundant loose objects then you need to run \n'git prune'.\n\n\nNicolas\n"},{"id":"116585","messageId":"e5bfff550906181013o7c5140bes187e2062126075d9@mail.gmail.com","threadId":"19854","inReplyTo":"81b0412b0906180840y62d5c382ha47aebcda3e610f1@mail.gmail.com","subject":"Re: RFH: Unable to get one big pack","fromName":"Marco Costalba","fromEmail":"mcostalba@gmail.com","sentAt":"2009-06-18T17:13:35Z","receivedAt":"2009-06-18T17:13:35Z","isPatch":false,"sender":{"key":"mcostalba@gmail.com","avatar":null},"body":"On Thu, Jun 18, 2009 at 16:40, Alex Riesen<raa.lkml@gmail.com> wrote:\n> 2009/6/18 Marco Costalba <mcostalba@gmail.com>:\n>> Sorry for the silly question, but I have tried anything to get one big\n>> pack instead of many objects.\n>>\n>> I tried git repack but with no success:\n>>\n>> $ git repack -adf\n>> Counting objects: 3317, done.\n>> Compressing objects: 100% (3317/3317), done.\n>> Writing objects: 100% (3317/3317), done.\n>> Total 3317 (delta 2607), reused 0 (delta 0)\n>> $ ls -R .git/objects | wc -l\n>>  519\n>> $\n>\n> git gc && git prune\n>\n\nThanks to you and Nicolas for the hint. It worked.\n\nIf I can make a suggestion: description of git-repack is a bit misleading\n\n\"git-repack(1)\n\nThis script is used to combine all objects that do not currently\nreside in a \"pack\", into a pack. It can also be used to re-organize\nexisting packs into a single, more efficient pack.\"\n"}]}