threads / discuss / 34969

Has there been any discussion about resumable clones recently ?

Subject: Has there been any discussion about resumable clones recently ?

## tl;dr

2 messages between Sep 19, 2013 and Sep 20, 2013.

replies: 1people: 2as markdown or json

shirish शिरीष· Sep 19, 2013, 23:18 UTC · lore

Hi all, First of all a big thank you to all for making git. With it being fast and cheap (in relation to bandwidth and sizes for subsequent checkouts as well as CPU usage) . Please CC me if somebody does answer this mail as I'm not subscribed to the list.

The thing I have been failures number of times while trying to clone a large repo. The only solution it seems is to ask somebody to make a git-bundle and get that bundle via wget or rsync and then unbundle it and then hopefully just sync it. The other way is to pray and hope that somehow git clones ends in a success.

Somebody told me that there is/was some recent discussion on getting something like :-

$ git clone --continue

which is/would be very similar to how wget works so you can continue the large file download if the server supports resuming.

Is something similar being worked upon or discussed upon ? If yes, please point me out to the discussion as it would be very beneficial to people like me who have unstable network connection.

If not, then sorry to take your time.
in gratitude.
-- 
          Regards,
          Shirish Agarwal  शिरीष अग्रवाल
  My quotes in this email licensed under CC 3.0
http://creativecommons.org/licenses/by-nc/3.0/
http://flossexperiences.wordpress.com
065C 6D79 A68C E7EA 52B3  8D70 950D 53FB 729A 8B17
Sitaram Chamarty· Sep 20, 2013, 06:34 UTC · re: shirish शिरीष · lore

Re: Has there been any discussion about resumable clones recently ?

On 09/20/2013 04:48 AM, shirish शिरीष wrote:
Show 9 quoted lines
> Hi all,
> First of all a big thank you to all for making git. With it being fast
> and cheap (in relation to bandwidth and sizes for subsequent checkouts
> as well as CPU usage) . Please CC me if somebody does answer this mail
> as I'm not subscribed to the list.
> 
> The thing I have been failures number of times while trying to clone a
> large repo. The only solution it seems is to ask somebody to make a
> git-bundle and get that bundle via wget or rsync and then unbundle it

Just want to mention that if the server is running gitolite, the admin can set things up so that this is easy and painless, either for all repos or just some specific ones.

Such repos can then be cloned like this:
    rsync -P git@host:repo.bundle .
        # downloads a file called "<basename of repo>.bundle"; repeat as
        # needed till the whole thing is downloaded
    git clone repo.bundle repo
    cd repo
    git remote set-url origin git@host:repo
    git fetch origin    # and maybe git pull, etc. to freshen the clone

(yes, I know this is not really a substitute for resumable clone; call it a stop-gap until that happens!)

← back to recent threads