Re: [PATCHv3 6/9] clone: implement optional references
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Aug 9, 2016, 18:35 UTC
- Message-ID
- <xmqqd1lhaiys.fsf@gitster.mtv.corp.google.com>
- In-Reply-To
- <CAGZ79kbS1_DULjf8gPram+zNLe-xRShETotq+at+r7bmWrUyxA@mail.gmail.com>
Stefan Beller <sbeller@google.com> 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.