From: Junio C Hamano Date: Sat, 21 Aug 2010 00:27:19 GMT Subject: Re: [PATCH 1/3] clone: do not accept --depth on local clones Message-ID: <7vwrrk95eg.fsf@alter.siamese.dyndns.org> In-Reply-To: <1282269067-5527-1-git-send-email-pclouds@gmail.com> Nguyễn Thái Ngọc Duy writes: > clone_local() function disregards --depth. Make it more apparent. > Also hint users that file:// works with --depth. Hmm---why? The "--depth" option is an ugly hack that tries to conserve network bandwidth and disk usage, which is not necessary if you are doing a local hardlinking clone. Without this patch we allowed people to clone with the option without a downside (allowing it didn't result in broken repository, for example), but with it, what has long been allowed suddenly stops working. Is the breakage justifiable?