From: Junio C Hamano Date: Thu, 26 Feb 2009 22:45:42 GMT Subject: Re: [PATCH] clone: ignore --depth when cloning locally (implicitly --local) Message-ID: <7v8wnsrf55.fsf@gitster.siamese.dyndns.org> In-Reply-To: <1f63785d96d243ff19a063f684abbbe46cafc075.1235672273u.git.johannes.schindelin@gmx.de> Johannes Schindelin writes: > When cloning locally, we default to --local, as it makes the whole > operation fast and efficient. > > As the most common intent of cloning with a --depth parameter is to > save space, and --local saves space more than --depth ever can, > warn the user and ignore the --depth parameter when cloning locally. > > Should --depth be desired, the user can always force proper cloning > by using a file:// URL. > > Signed-off-by: Johannes Schindelin Makes sense. I'm inclined to apply this as a "fix" before 1.6.2, but I cannot exactly say what we are fixing. User's expectations?