From: Matthieu Moy Date: Wed, 04 Mar 2009 09:19:25 GMT Subject: Re: [RFC/PATCH 1/2] improve missing repository error message Message-ID: In-Reply-To: <20090304083229.GA31798@coredump.intra.peff.net> Jeff King writes: > + die("'%s' does not appear to be a git repository", dir); It may be sensible to distinguish the case where dir exists as a directory but isn't a repository, and the case where it does not exist at all, like "directory exists but does not appear to be a git repository" Vs "no such directory". Just in case someone does a "mkdir" on the server and doesn't know he has to "git init" there too. My 2 cents, -- Matthieu