git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Phil Miller <mille121@illinois.edu>
To: Git Mailing List <git@vger.kernel.org>
Subject: 'Deepen' after "git clone --depth=1"?
Date: Sun, 28 Feb 2010 21:55:56 -0600	[thread overview]
Message-ID: <81f018ac1002281955g1461abb3q815f9a45c13fb515@mail.gmail.com> (raw)

Suppose I want to make a shallow clone of a repository for some
size-sensitive application. I may later want to fill out the complete
history of that repository, so that I can work with it as if I had
done a full-depth clone to begin with. Is there an existing porcelain
command/option to produce that effect? If not, is there a fundamental
reason why this couldn't be implemented? It looks like this is
something fetch-pack should be able to do, but its documentation
doesn't seem to describe how. Also, the man page for fetch appears to
lie, in that --depth=n (where n is greater than the clone depth)
doesn't have any noticeable effect.

If the answer is simply "no one's written the code to do it yet", I'll
be happy to provide the necessary round tuits.

Phil

             reply	other threads:[~2010-03-01  3:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-01  3:55 Phil Miller [this message]
2010-03-01 11:13 ` 'Deepen' after "git clone --depth=1"? Yuriy Kaminskiy

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=81f018ac1002281955g1461abb3q815f9a45c13fb515@mail.gmail.com \
    --to=mille121@illinois.edu \
    --cc=git@vger.kernel.org \
    /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).