From: Constantine Date: Fri, 13 Oct 2017 12:12:43 GMT Subject: Re: git-clone causes out of memory Message-ID: <2f9b8856-dacc-768d-32c2-985f5f145ba7@yandex.ru> In-Reply-To: On 13.10.2017 15:04, Junio C Hamano wrote: > Christian Couder writes: > >> Yeah, but perhaps Git could be smarter when rev-listing too and avoid >> processing files or directories it has already seen? > > Aren't you suggesting to optimize for a wrong case? > Anything that is possible with a software should be considered as a possible usecase. It's in fact a DoS attack. Imagine there's a server that using git to process something, and now there's a way to knock down this server. It's also bad from a promotional stand point.