From: Johannes Schindelin Date: Thu, 02 Apr 2009 01:04:58 GMT Subject: Re: "git clone --depth " producing history with commits? Message-ID: In-Reply-To: <49D3C300.1040303@hartwork.org> Hi, On Wed, 1 Apr 2009, Sebastian Pipping wrote: > Sebastian Pipping wrote: > > Is "git clone --depth 1 " 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 " really supposed to > produce a history holding _two_ commits? Why so? Because storing _no_ commit (according to you, that should happen with --depth=0) would make no sense? After all, if you want to clone, you want to clone at least _something_. Ciao, Dscho