All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sebastian Pipping <webmaster@hartwork.org>
To: git@vger.kernel.org
Subject: Re: "git clone --depth <depth>" producing history with <depth + 1> commits?
Date: Wed, 01 Apr 2009 21:39:44 +0200	[thread overview]
Message-ID: <49D3C300.1040303@hartwork.org> (raw)
In-Reply-To: <49CBB490.8040908@hartwork.org>

Sebastian Pipping wrote:
> Is "git clone --depth 1 <ropository>" expected to give a history
> with 2 commits?  "--depth 2" gives 3 commits, "--depth 0" all.
> 
> Is that by design or a bug?

Anyone?  Is "git clone --depth 1 <ropository>" really
supposed to produce a history holding _two_ commits?  Why so?



Sebastian

  reply	other threads:[~2009-04-01 19:41 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-26 17:00 "git clone --depth <depth>" producing history with <depth + 1> commits? Sebastian Pipping
2009-04-01 19:39 ` Sebastian Pipping [this message]
2009-04-02  1:04   ` Johannes Schindelin
2009-04-02  1:19     ` Sebastian Pipping
2009-04-02  2:33     ` Junio C Hamano
2009-04-02 11:00       ` Johannes Schindelin

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=49D3C300.1040303@hartwork.org \
    --to=webmaster@hartwork.org \
    --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.