gitweb can help with lack of resumable clone
- From
Sitaram Chamarty <sitaramc@gmail.com>
- Date
- Nov 7, 2010, 18:22 UTC
- Message-ID
- <AANLkTimcdXKXn-L25_1dhAQ2AZwoguvHBc9iKFbbPqTD@mail.gmail.com>
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