Re: [PATCH] git clone depth of 0 not possible.
- From
Stefan Beller <stefanbeller@googlemail.com>
- Date
- Jan 8, 2013, 14:32 UTC
- Message-ID
- <50EC2DE5.2050704@googlemail.com>
- In-Reply-To
- <CACsJy8BJ3eBv-wjq=eTzR4SeEXW2MF5k1w5SFRt7fWRU4vKb_Q@mail.gmail.com>
On 01/08/2013 03:28 PM, Duy Nguyen wrote:
Show 9 quoted lines
> On Tue, Jan 8, 2013 at 2:36 PM, Junio C Hamano <gitster@pobox.com> 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?