Re: [PATCH 1/3] clone: do not accept --depth on local clones
- From
Nguyen Thai Ngoc Duy <pclouds@gmail.com>
- Date
- Aug 19, 2010, 22:15 UTC
- Message-ID
- <AANLkTimHKc7y7ktAkAUffLzOtMGxqWO0i2nOWWuo4N9J@mail.gmail.com>
- In-Reply-To
- <201008191031.40230.ComputerDruid@gmail.com>
On Fri, Aug 20, 2010 at 12:31 AM, Daniel Johnson <computerdruid@gmail.com> wrote:
Show 9 quoted lines
> On Thursday 19 August 2010 06:40:35 you wrote: >> Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> >> --- >> builtin/clone.c | 7 +++++-- >> 1 files changed, 5 insertions(+), 2 deletions(-) > Can you make it a little clearer what the rationale is for this change? Why > wouldn't you be able to do a limited-depth local clone? Seems like this > would > break some tests, and even if not, would prevent the writing of them.
It's been like this ever since and it puzzled me, "why 'git clone --depth=2 ~/foo' did not work? What did I do?" Will do as Mikael suggested.
-- Duy