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