Re: "git clone --depth <depth>" producing history with <depth + 1> commits?
- From
- Sebastian Pipping <webmaster@hartwork.org>
- Date
- Apr 1, 2009, 19:39 UTC
- Message-ID
- <49D3C300.1040303@hartwork.org>
- 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