From: Duy Nguyen Date: Fri, 12 Jul 2013 07:54:35 GMT Subject: Re: [PATCH] git-clone.txt: remove the restriction on pushing from a shallow clone Message-ID: In-Reply-To: <7vy59cnx06.fsf@alter.siamese.dyndns.org> On Fri, Jul 12, 2013 at 12:54 PM, Junio C Hamano wrote: > Nguyễn Thái Ngọc Duy writes: > >> + number of limitations (you cannot clone or fetch from it, nor >> + push into it), but is adequate if you are only interested in >> + the recent history of a large project with a long history. > > Ahh, sorry for the noise. You still say you cannot push _into_ it. Yes, I actually removed that check in the first iteration of this patch, reasoning that it can't cause any harm and it mostly works. But "mostly" is not good enough. I will try remove it later if I can make it always work by extending git protocol a bit (I think full clone pushing to shallow one can always work. Shallow pushing to shallow, probably no such guarantee) -- Duy