threads / discuss / 25662

gitweb can help with lack of resumable clone

Subject: gitweb can help with lack of resumable clone

## tl;dr

One message between Nov 7, 2010 and Nov 7, 2010.

replies: 0people: 1as markdown or json

Sitaram Chamarty· Nov 7, 2010, 18:22 UTC · lore
Hello,

Over on #git someone asked about this, and I realised I'd been using a bundle file to solve this problem, albeit manually.

So I started wondering. What if gitweb had, along with "summary", "shortlog", etc., a "bundle" button. This button would link to a static bundle file. The bundle file can be generated once a day by cron or some other means, and that should actually be quite sufficient -- you should not need more frequent updates to the bundle file.

A user faced with the need for a resumable clone would then download the bundle (using say wget -c or curl -C, resumable), clone from it, and then *fetch* from the repo.

The user would still have to take a couple of extra steps (wget, clone, git remote --set-url, fetch) instead of just clone, but it's not too bad.

Thoughts?  Has this been discussed before?
-- 
Sitaram

← back to recent threads