On 26 May 2010 23:08, Fredrik Gustafsson wrote:
>
> On Wed, May 26, 2010 at 10:41:22PM +0200, björn wrote:
>> I have noticed that the Git clone of Vim's Mercurial repository that I
>> set up is substantially larger than the original (original's .hg
>> folder ~ 45M, cloning Git repo with hg results in ~ 158M .hg folder,
>> cloning Git repo with git results in ~ 108M .git folder).
> I checked out both the git and hg repos and confirmed your statement:
>
> [iv...@paksenarrion]-[~/slask/vimtest] du -sh *
> 142M    git
> 89M     hg
>
> To let git optimize the git-repo and throw away unwanted stuff I runned
> git gc --aggressive and the result was pleasing:
>
> [iv...@paksenarrion]-[~/slask/vimtest] du -sh *
> 72M     git
> 89M     hg

Nice!  I did not know about the "--aggressive" switch (I tried "git
gc" but it made no difference).  Now I get a 28M .git folder.

The clone using hg is still insane though...has hg got some way to
aggressively "clean" the .hg folder?

Björn

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui