Re: Why not clone to a remote directory over SSH
- From
Andreas Ericsson <ae@op5.se>
- Date
- Nov 23, 2005, 23:15 UTC
- Message-ID
- <4384F7F6.10404@op5.se>
- In-Reply-To
- <20051123230838.GN3968@reactrix.com>
Nick Hengeveld wrote:
Show 14 quoted lines
> On Wed, Nov 23, 2005 at 02:16:01PM -0700, Carl Baldwin wrote: > > >>It might be cool to enable cloning to a remote over ssh if the remote >>doesn't yet exist. > > > I would like to see the same for http. There is limited support for > managing a repository using http but without the ability to run tools > like init-db/clone/update-server-info you still need shell access > or some other workaround. I think it would be useful to allow someone > to create, manage, and share a repository without any special > intelligence on the server side. >
You'll still need to install at least git-init-db and git-receive-pack (and git-merge, and...), even if they're run through commands from the web. That's pretty special intelligence.
You'd also have to add some logic to enter_repo() to make it find repositories without a HEAD correctly.
-- Andreas Ericsson andreas.ericsson@op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231