All of lore.kernel.org
 help / color / mirror / Atom feed
From: Teemu Likonen <tlikonen@iki.fi>
To: roylee17 <roylee17@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: Does cloning a shallow repo require special setting in the cloned one?
Date: Thu, 26 Feb 2009 08:34:51 +0200	[thread overview]
Message-ID: <87tz6hn1tg.fsf@iki.fi> (raw)
In-Reply-To: <1235620146513-2387799.post@n2.nabble.com> (roylee's message of "Wed\, 25 Feb 2009 19\:49\:06 -0800 \(PST\)")

On 2009-02-25 19:49 (-0800), roylee17 wrote:

> $ 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?

I don't know the "why" part but using file:// URL should work:

    git clone --depth 1 file:///path/to/git-full git-shallow2

  reply	other threads:[~2009-02-26  6:37 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-26  3:49 Does cloning a shallow repo require special setting in the cloned one? roylee17
2009-02-26  6:34 ` Teemu Likonen [this message]
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=87tz6hn1tg.fsf@iki.fi \
    --to=tlikonen@iki.fi \
    --cc=git@vger.kernel.org \
    --cc=roylee17@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 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.