From: Jonathan Nieder <jrnieder@gmail.com>
To: "V.Krishn" <vkrishn4@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: Stalled git cloning and possible solutions
Date: Thu, 29 Aug 2013 14:10:34 -0700 [thread overview]
Message-ID: <20130829211034.GB4110@google.com> (raw)
In-Reply-To: <201308300118.19166.vkrishn4@gmail.com>
V.Krishn wrote:
> Quite sometimes when cloning a large repo stalls, hitting Ctrl+c cleans what
> been downloaded, and process needs re-start.
>
> Is there a way to recover or continue from already downloaded files during
> cloning ?
No, sadly. The pack sent for a clone is generated dynamically, so
there's no easy way to support the equivalent of an HTTP Range request
to resume. Someone might implement an appropriate protocol extension
to tackle this (e.g., peff's seed-with-clone.bundle hack) some day,
but for now it doesn't exist.
What you *can* do today is create a bundle from the large repo
somewhere with a reliable connection and then grab that using a
resumable transport such as HTTP. A kind person made a service to do
that.
http://thread.gmane.org/gmane.comp.version-control.git/181380
Hope that helps,
Jonathan
next prev parent reply other threads:[~2013-08-29 21:10 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-29 19:48 Stalled git cloning and possible solutions V.Krishn
2013-08-29 21:10 ` Jonathan Nieder [this message]
2013-08-29 21:35 ` V.Krishn
2013-08-29 22:18 ` Junio C Hamano
2013-08-29 22:28 ` V.Krishn
2013-09-04 1:06 ` V.Krishn
2013-08-30 12:17 ` Duy Nguyen
2013-08-30 12:41 ` Duy Nguyen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130829211034.GB4110@google.com \
--to=jrnieder@gmail.com \
--cc=git@vger.kernel.org \
--cc=vkrishn4@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).