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

Re: [PATCH] Clarify documentation of git-cvsserver, particularly in relation to git-shell

From
Junio C Hamano <junio@pobox.com>
Date
Apr 16, 2008, 20:03 UTC
Message-ID
<7vhce1pnxf.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<1208295883-19599-1-git-send-email-scc@ScottCollins.net>
Scott Collins <scc@ScottCollins.net> writes:
Show 5 quoted lines
> For SSH clients restricted to git-shell, CVS_SERVER does not have to be
> specified, because git-shell understands the default value of 'cvs' to
> mean git-cvsserver'. This makes it totally transparent to CVS users, but
> the instruction to set up CVS access for people with real shell access
> does not apply.

Thanks. I was only _guessing_ that the reasoning behind the "cvs" hack in git-shell was to allow a vanilla "cvs over ssh" to work transparently without trying, but it appears to work exactly that way.

Show 5 quoted lines
>
> Note that the .ssh/environment file is a good place to set these, and that
> the .bashrc is shell-specific. Add a bit of text to differentiate cvs -d
> (setting CVSROOT) from cvs co -d (setting the name of the newly checked
> out directory).  Removed an extra 'Example:' string.

Suggesting .ssh/environment as an alternative is a good idea, but not everybody's sshd pays attention to it, so the user still needs to learn how to drive his or her ssh environment. But this document is not a troubleshooting guide for ssh, so let's not go there too much. I think your description is fine.

Previous: Scott CollinsNext: Johannes Schindelin
Message 7 of 8 in “Clarify documentation of git-cvsserver, particularly in relation to git-shell”
  1. Clarify documentation of git-cvsserver, particularly in relation to git-shellScott Collins, Apr 15, 2008
  2. Junio C HamanoApr 15, 2008
  3. Scott CollinsApr 15, 2008
  4. Clarify documentation of git-cvsserver, particularly in relation to git-shellScott Collins, Apr 15, 2008
  5. Johannes SchindelinApr 19, 2008
  6. Clarify documentation of git-cvsserver, particularly in relation to git-shellScott Collins, Apr 15, 2008
  7. Junio C HamanoApr 16, 2008
  8. Johannes SchindelinApr 19, 2008

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.