Re: [PATCH] Allow cloning an empty repository
- From
Jeff King <peff@peff.net>
- Date
- Jan 23, 2009, 22:32 UTC
- Message-ID
- <20090123223205.GA11491@coredump.intra.peff.net>
- 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 wrote:
Show 5 quoted lines
> Probably. Note, however, that scripts might rely on a fail if there were > problems. > > But then, scripts have no business cloning repositories (fetching, yes. > But cloning?)
Really? I have scripts that call clone (usually followed by building the result). Are you proposing that all scripts should "git init && git remote add && git fetch"?
So I am strongly in favor of telling the difference between failure and emptiness.
-Peff