From: Tommi Virtanen Date: Thu, 26 Jun 2008 08:20:13 GMT Subject: Re: [PATCH] daemon: accept "git program" as well Message-ID: <20080626082013.GT22344@eagain.net> In-Reply-To: <7vmyl9w0y1.fsf@gitster.siamese.dyndns.org> On Wed, Jun 25, 2008 at 04:26:46PM -0700, Junio C Hamano wrote: > By the way I looked at gitosis (Tommi CC'ed). > > http://repo.or.cz/w/gitosis.git?a=blob;f=gitosis/serve.py;h=c0b7135bf45305ee1079b0dcab3b4ed1ce988aab;hb=38561aa6a51a2ef6cc04aa119481df62d213ffa4 > > In gitosis/serve.py, there are COMMANDS_READONLY and COMMANDS_WRITE array > that holds 'git-upload-pack' and 'git-receive-pack' commands, and they are > compared with user commands after doing: Yeah, that's pretty much a trivial change, doing it now to future-proof gitosis. -- :(){ :|:&};: