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

git cole give unexpected error message

From
Sam Ravnborg <sam@ravnborg.org>
Date
Dec 13, 2005, 21:28 UTC
Message-ID
<20051213212820.GB5232@mars.ravnborg.org>
Encountered following minor issue today:

Executed: sam@mars ~/work $ git clone git://git.kernel.org/pub/scm/lib/klibc/klibc.git viggo defaulting to local storage area fatal: unexpected EOF

The errormessage "fatal: unexpected EOF" did not immediately tell me that the requested git repository did not exists.

But I corrected the path and tried again: sam@mars ~/work $ git clone git://git.kernel.org/pub/scm/libs/klibc/klibc.git viggo viggo already exists.

So one can see that git did not clean up after the faulty clone.
It would be nice if git:
1) Displayed a more meaningfull error message
2) Cleaned up so I did not have to do a manual rm -rf viggo

cogito being a nice porcelain gives the git errormessage but manage to clean up when the clone fails. So also cogito would benefit from a more descriptive errormessage.

	Sam
Next: Petr Baudis
Message 1 of 5 in “git cole give unexpected error message”
  1. Sam RavnborgDec 13, 2005
  2. Petr BaudisDec 13, 2005
  3. Andreas EricssonDec 14, 2005
  4. Petr BaudisDec 14, 2005
  5. Sam RavnborgDec 14, 2005

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.