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

Re: [PATCH] Trivial fix: Display a more friendly message with git-shell.

From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
Date
Sep 21, 2009, 06:45 UTC
Message-ID
<vpqeiq0ssn7.fsf@bauges.imag.fr>
In-Reply-To
<4AB71A76.5010509@viscovery.net>
Johannes Sixt <j.sixt@viscovery.net> writes:
> Every other use of git-shell is an error, and the current error message
> says exactly that, although in a very 31337 way (and, BTW, /me likes
> it :-)

Well, it's funny, but for a newcommer, trying "git shell" hoping to get, for example what "bzr shell" gives (an interactive shell with normal shell commands plus bzr ones without the 'bzr' prefix), it's quite frustrating to be almost insulted by the tool for being curious.

> If an naive user runs git-shell from the command line, then your new
> message will not be helpful because git-shell will accept only a very
> restricted set of commands.

Perhaps one more line saying what 'man git-shell' says in addition would help:

$ git-shell
git-shell: Restricted login shell for GIT-only SSH access
Usage: ...
-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/
Previous: Johannes SixtNext: Thiago Farina
Message 4 of 8 in “Trivial fix: Display a more friendly message with git-shell.”
  1. Trivial fix: Display a more friendly message with git-shell.Thiago Farina, Sep 20, 2009
  2. Tay Ray ChuanSep 21, 2009
  3. Johannes SixtSep 21, 2009
  4. Matthieu MoySep 21, 2009
  5. Thiago FarinaSep 21, 2009
  6. Matthieu MoySep 22, 2009
  7. Heiko VoigtSep 22, 2009
  8. Jakub NarebskiSep 22, 2009

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.