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

Re: Useless error message?

From
AAghiles <aghilesk@gmail.com>
Date
Apr 22, 2010, 20:13 UTC
Message-ID
<l2x3abd05a91004221313s2cb89697i3bcbfbcd6ccf6820@mail.gmail.com>
In-Reply-To
<20100422115625.GJ3563@machine.or.cz>
Hello,
Show 10 quoted lines
>
> I have seen a lot of users who plainly had a lot of trouble even
> _understanding_ the error message - it is phrased in super-dense
> networking jargon. I think something like
>
>        "fatal: Server terminated the connection for unknown reason"
>
> might come a long way (though of course specific error messages would
> still be far more helpful).
>
I would say that:
  "fatal: Server terminated the connection."

Is best and actually says what it has to stay. "Unknown reason" sounds like a godly intervention into the git protocol. Sometimes, the "hung up" message is given as an extra information that actually causes more harm than good:

 % git pull hummus
 fatal: 'hummus' does not appear to be a git repository
 fatal: The remote end hung up unexpectedly
  -- aghiles
Previous: Petr Baudis
Message 13 of 13 in “Useless error message?”
  1. AghilesApr 21, 2010
  2. Kim EbertApr 21, 2010
  3. Jonathan NiederApr 21, 2010
  4. Junio C HamanoApr 22, 2010
  5. Jonathan NiederApr 22, 2010
  6. Andreas EricssonApr 22, 2010
  7. Jonathan NiederApr 22, 2010
  8. Andreas EricssonApr 22, 2010
  9. Jonathan NiederApr 22, 2010
  10. Ilari LiusvaaraApr 22, 2010
  11. daemon: report inaccessible repositories to userJonathan Nieder, Apr 22, 2010
  12. Petr BaudisApr 22, 2010
  13. AghilesApr 22, 2010

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.