Re: [PATCH] Shallow clone: low level machinery.
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Jan 31, 2006, 18:06 UTC
- Message-ID
- <Pine.LNX.4.63.0601311904410.10944@wbgn013.biozentrum.uni-wuerzburg.de>
- In-Reply-To
- <7vd5i81e4e.fsf@assigned-by-dhcp.cox.net>
Hi,
On Tue, 31 Jan 2006, Junio C Hamano wrote:
Show 7 quoted lines
> Johannes Schindelin <Johannes.Schindelin@gmx.de> writes: > > > apart from my thinking this is not backward-compatible (you are supposed > > to be able to pull from a complete repo, even if it has a > > non-shallow-capable upload-pack), here are my comments: > > It cannot do a shallow clone against older servers, no.
Worse, you cannot pull from older servers into shallow repos.
Show 7 quoted lines
> > - The custom_graft issue could be handled in a more elegant manner if > > git was lib'ified (no temporary file). Since that is already the > > plan, why not do that first, and come back later? > > That is why it does not write any temporary files. It > introduces a way to read graft information from an environment > variable.
Ooops. I only saw that you setup_custom_grafts and assumed wrongly.
Ciao, Dscho