From: Junio C Hamano Date: Tue, 09 Aug 2016 18:35:39 GMT Subject: Re: [PATCHv3 6/9] clone: implement optional references Message-ID: In-Reply-To: Stefan Beller writes: > Thinking about that we may want to not rely on such a hack, > but make it clearer. But that is far from sufficient, isn't it? You'd need to bypass "not a local repository", "shallow" and "is grafted" anyway, so in that sense, that hack is not doing much. If modules/X (or modules/X/) does not exist, it won't pass these checks, so burdening the readers with slash trickery is not really worth their time.