Re: [RFC] shallow clone
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Jan 31, 2006, 14:20 UTC
- Message-ID
- <Pine.LNX.4.63.0601311518120.9824@wbgn013.biozentrum.uni-wuerzburg.de>
- In-Reply-To
- <7v8xsxa70o.fsf@assigned-by-dhcp.cox.net>
Hi,
On Mon, 30 Jan 2006, Junio C Hamano wrote:
Show 6 quoted lines
> 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