Re: git cole give unexpected error message
From: Andreas Ericsson <hidden>
Date: 2016-06-15 22:42:14
Petr Baudis wrote:
Dear diary, on Tue, Dec 13, 2005 at 10:28:20PM CET, I got a letter where Sam Ravnborg [off-list ref] said that...quoted
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.Well, git clone can fail for many reasons and I don't think the "no such repository" one is completely overwhelming, so hinting that by Cogito could be quite confusing (theme of the day: usability ;-)). The real solution would be proper error reporting by the git daemon.
But that would open up for an information disclosure. If someone's hacking on a patch, please make it configurable at least. -- Andreas Ericsson andreas.ericsson@op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231