On Fri, Mar 27, 2015 at 04:42:31PM +1300, Jan Larres wrote:
> James McCoy <[email protected]>:
> > $ git clone https://github.com/vim/vim
> > ...
> > $ cd vim
> > $ du -hs .git .
> > 685M    .git
> > 47M     .
> > $ git gc --aggressive
> > ...
> > $ du -hs .git .
> > 34M     .git
> > 47M     .
> 
> The Google Code to GitHub exporter seems to do a pretty bad job at finding
> good deltas; I've seen other projects that were exported with it and had a
> similarly bloated repository. I would probably be a good idea to contact
> GitHub support and ask them to perform an aggressive gc on the server so that
> first-time cloners don't have to download so much junk.

I pinged @GitHub on Twitter and they say they've fixed this on the server
side: https://twitter.com/vmg/status/581144886826672130

'git clone' now needs to download only 32 megs, yay!

    mg@platonas: /tmp $ git clone https://github.com/vim/vim vim2
    Cloning into 'vim2'...
    remote: Counting objects: 51714, done.
    remote: Total 51714 (delta 0), reused 0 (delta 0), pack-reused 51714
    Receiving objects: 100% (51714/51714), 32.43 MiB | 527.00 KiB/s, done.
    Resolving deltas: 100% (41960/41960), done.
    Checking connectivity... done.

    [1m11s]
    mg@platonas: /tmp $ du -chs vim2/.git
    35M     vim2/.git
    35M     viso

    mg@platonas: /tmp $ du -chs vim2
    81M     vim2
    81M     viso

Marius Gedminas
-- 
Si fractum non sit, noli id reficere.

-- 
-- 
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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Attachment: signature.asc
Description: Digital signature

Raspunde prin e-mail lui