From: Yuriy Kaminskiy <yumkam@mail.ru>
To: git@vger.kernel.org
Subject: Re: 'Deepen' after "git clone --depth=1"?
Date: Mon, 01 Mar 2010 14:13:18 +0300 [thread overview]
Message-ID: <hmg7gf$gq9$1@dough.gmane.org> (raw)
In-Reply-To: <81f018ac1002281955g1461abb3q815f9a45c13fb515@mail.gmail.com>
On 01.03.2010 06:55, Phil Miller wrote:
> 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.
Last time I've tried (1.6.x),
git fetch --depth=n
indeed, did nothing, but
git fetch --depth=n origin master
worked (deepened history; but it seems it redownloaded (some) objects).
> 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.
prev parent reply other threads:[~2010-03-01 11:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-01 3:55 'Deepen' after "git clone --depth=1"? Phil Miller
2010-03-01 11:13 ` Yuriy Kaminskiy [this message]
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='hmg7gf$gq9$1@dough.gmane.org' \
--to=yumkam@mail.ru \
--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).