Re: Repository is moving
James Henstridge <[email protected]>
| Newsgroups | gmane.comp.python.db.psycopg.devel |
|---|---|
| Message-ID | <[email protected]> |
On Mon, Apr 27, 2009 at 11:07 PM, James Henstridge <[email protected]> wrote: > 3. I was a bit surprised that the repository data was so much larger: > 2.2MB for Bazaar and 7.5MB for Git. I thought Git did better than > that in comparison to the Bazaar format we were using. Could there be > something from another project hiding in there? Running "git gc" > didn't seem to clear any space. I did a bit of googling about this, and found the repack command. The following command was able to bring the repository size down to 968KB: git repack -a -f --window=300 --depth=300 [This is about the same size as what the the repository format in development for Bazaar 2.0 gives, which is a nice validation]. You might want to run a command like this on the server to make the initial download a bit quicker. James.