git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Support cvs via git-shell

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Oct 10, 2007, 13:29 UTC
Message-ID
<Pine.LNX.4.64.0710101427160.4174@racer.site>
In-Reply-To
<20071009223538.GG31659@planck.djpig.de>
Hi,
On Wed, 10 Oct 2007, Frank Lichtenheld wrote:
Show 11 quoted lines
> On Tue, Oct 09, 2007 at 03:33:25PM +0100, Johannes Schindelin wrote:
> >  static struct commands {
> >  	const char *name;
> >  	int (*exec)(const char *me, char *arg);
> >  } cmd_list[] = {
> >  	{ "git-receive-pack", do_generic_cmd },
> >  	{ "git-upload-pack", do_generic_cmd },
> > +	{ "cvs", do_cvs_cmd },
> >  	{ NULL },
> 
> Maybe this should also allow git-cvsserver for completeness' sake?
Umm.  Why?

If you use a cvs client with :ext: protocol, it will call ssh (or rsh!) with the command "cvs server", not "git-cvsserver".

Only in setups where you set (IIRC) the environment variable "CVSSERVER" on the client to "git-cvsserver" will it call something different, but these setups exist already, and never used git-shell to begin with.

Ciao, Dscho

Previous: Frank LichtenheldNext: Frank Lichtenheld
Message 9 of 10 in “git-shell and git-cvsserver”
  1. git-shell and git-cvsserverJan Wielemaker, Oct 5, 2007
  2. Miklos VajnaOct 5, 2007
  3. Frank LichtenheldOct 5, 2007
  4. Johannes SchindelinOct 8, 2007
  5. Jan WielemakerOct 8, 2007
  6. Johannes SchindelinOct 9, 2007
  7. Support cvs via git-shellJohannes Schindelin, Oct 9, 2007
  8. Frank LichtenheldOct 9, 2007
  9. Johannes SchindelinOct 10, 2007
  10. Frank LichtenheldOct 10, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.