From: Junio C Hamano Date: Thu, 06 Aug 2015 07:44:09 GMT Subject: Re: Error when cloning with weird local directory Message-ID: In-Reply-To: <55C2F54A.7070702@web.de> Torsten Bögershausen writes: > It looks as if > static char *get_repo_path(const char *repo, int *is_bundle) > in built/clone.c > checks if there is a local directory structure looking like a > .git directory. > This is wrong. It is as designed, though, to allow cloning from a local directory with any name. > There should be a check for the scheme first. That will be wrong.