From: Stefan Beller Date: Tue, 08 Jan 2013 14:32:05 GMT Subject: Re: [PATCH] git clone depth of 0 not possible. Message-ID: <50EC2DE5.2050704@googlemail.com> In-Reply-To: On 01/08/2013 03:28 PM, Duy Nguyen wrote: > On Tue, Jan 8, 2013 at 2:36 PM, Junio C Hamano wrote: >> Speaking of --depth, I think in Git 2.0 we should fix the semantics >> of "deepening" done with "git fetch". > > Speaking of 2.0, we should support depth per ref. Well we don't have > to wait until 2.0 because we could just add shallow2 extension to the > pack protocol. We should also apply depth to new refs when fetching > them the first time. > Would this mean I could do something along? $ git clone --since v1.8.0 git://github.com/gitster/git.git So tags would be allowed as anchors?