From: roylee17 <roylee17@gmail.com>
To: git@vger.kernel.org
Subject: Does cloning a shallow repo require special setting in the cloned one?
Date: Wed, 25 Feb 2009 19:49:06 -0800 (PST) [thread overview]
Message-ID: <1235620146513-2387799.post@n2.nabble.com> (raw)
Hi,
I have a question about cloning shallow repo.
$ git clone --depth 1 git://git2.kernel.org/pub/scm/git/git.git git-shallow
ok, 'git log' gives a 2-revision history.
$ git clone git://git2.kernel.org/pub/scm/git/git.git git-full
'git log' gives a full history
$ git clone --depth 1 git-full git-shallow2
'git log' still gives a full history
Why can't I clone a shallow repo from the git-full?
Does it requires some settings in the git-full repo?
Regards,
Roy
Roy
--
View this message in context: http://n2.nabble.com/Does-cloning-a-shallow-repo-require-special-setting-in-the-cloned-one--tp2387799p2387799.html
Sent from the git mailing list archive at Nabble.com.
next reply other threads:[~2009-02-26 3:50 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-26 3:49 roylee17 [this message]
2009-02-26 6:34 ` Does cloning a shallow repo require special setting in the cloned one? Teemu Likonen
2009-02-26 7:33 ` Roy Lee
2009-02-26 10:46 ` Jeff King
2009-02-26 11:17 ` Johannes Schindelin
2009-02-26 13:19 ` Jeff King
2009-02-26 13:01 ` Roy Lee
2009-02-27 0:42 ` Jakub Narebski
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=1235620146513-2387799.post@n2.nabble.com \
--to=roylee17@gmail.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.