Re: [PATCH] git clone depth of 0 not possible.
- From
Duy Nguyen <pclouds@gmail.com>
- Date
- Jan 8, 2013, 14:28 UTC
- Message-ID
- <CACsJy8BJ3eBv-wjq=eTzR4SeEXW2MF5k1w5SFRt7fWRU4vKb_Q@mail.gmail.com>
- In-Reply-To
- <7vd2xggm8a.fsf@alter.siamese.dyndns.org>
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.
-- Duy