Re: [PATCH] Allow cloning an empty repository
- From
Miklos Vajna <vmiklos@frugalware.org>
- Date
- Jan 23, 2009, 16:55 UTC
- Message-ID
- <20090123165549.GI21473@genesis.frugalware.org>
- In-Reply-To
- <alpine.DEB.1.00.0901230419080.3586@pacific.mpi-cbg.de>
On Fri, Jan 23, 2009 at 04:20:34AM +0100, Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:
> But then, scripts have no business cloning repositories (fetching, yes. > But cloning?)
I think portals like repo.or.cz may do it.
Isn't setting errno (or similar variable) in the HTTP code an option? Then we could see why the transport failed and make a difference between "network error" and "no refs found".