Re: [PATCH v2 2/2] t: Add test for cloning from ref namespace
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jun 5, 2015, 16:46 UTC
- Message-ID
- <xmqqtwumrtl9.fsf@gitster.dls.corp.google.com>
- In-Reply-To
- <20150605162523.GA25914@leeloo.kyriasis.com>
Johannes Löthberg <johannes@kyriasis.com> writes:
> Would it be acceptable to check against > ../bare/refs/namespaces/new_namespace/HEAD and > ../bare/refs/namespaces/new_namespace/refs/heads/master instead, until > rev-parse is thaught about namespaces?
Yes.
Because I do not immediately see any legitimate reason for the rest of the system (including rev-parse) to ever start paying attention to GIT_NAMESPACE, I think that is not even "instead, until" but is the right solution.
Thanks.