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 22, 2009, 07:28 UTC
Message-ID
<vpqr5tzqvzm.fsf@bauges.imag.fr>
In-Reply-To
<a4c8a6d00909211345q593e673bo4964204afa5ce807@mail.gmail.com>
Thiago Farina <tfransosi@gmail.com> writes:
Show 11 quoted lines
> Hi Matthieu
> On Mon, Sep 21, 2009 at 3:45 AM, Matthieu Moy
> <Matthieu.Moy@grenoble-inp.fr> wrote:
>> 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: ...
> I added this line to the output usage, but would be good to show the
> commands that git-shell accept too?

Well, at some point, I think the user will have to read the man page. I find it better to have a non-agressive error message, but I'm not sure it's relevant to try to give the complete manual here.

-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/
Previous: Thiago FarinaNext: Heiko Voigt
Message 6 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.