From: Mike Hommey Date: Tue, 21 Apr 2009 09:09:39 GMT Subject: Re: [PATCH v2] Allow git-shell to be used as a ssh forced-command Message-ID: <20090421090939.GA6788@glandium.org> In-Reply-To: <7vbpqqa0gy.fsf@gitster.siamese.dyndns.org> On Tue, Apr 21, 2009 at 01:13:17AM -0700, Junio C Hamano wrote: > Mike Hommey writes: > > > When using a forced-command, OpenSSH sets the SSH_ORIGINAL_COMMAND > > variable to what would otherwise be passed to $SHELL -c. When this > > variable is set and git-shell was given no argument, we use it. > > I might be being extremely slow, but I had an impression that I saw only > the downsides discussed in the earlier thread and did not see what use > case this is supposed to help. > > Is it a valid question to ask "what's wrong with gitosis"? Why use gitosis where all you need is git-shell? Mike