From: Johannes Schindelin Date: Tue, 31 Jan 2006 14:20:36 GMT Subject: Re: [RFC] shallow clone Message-ID: In-Reply-To: <7v8xsxa70o.fsf@assigned-by-dhcp.cox.net> Hi, On Mon, 30 Jan 2006, Junio C Hamano wrote: > We need to realize that `upload-pack` that hears > "have A, want B" is allowed to omit objects that appear in > `ls-tree B` output but not in `ls-tree A`. "have A" means not > just "I have A", but "I have A and all of its ancestors", so > just sending "have start_shallow" (or start_shallow^ for that > matter) is not quite enough. So how about adding a "have-single A" which would be translated to "git-rev-list ~A", which in turn would only mark the tree and its children, but not the parents? Ciao, Dscho