nesting refs (Re: [1.8.0] Provide proper remote ref namespaces)
- From
Nguyen Thai Ngoc Duy <pclouds@gmail.com>
- Date
- Feb 5, 2011, 04:30 UTC
- Message-ID
- <AANLkTin+VLTf62NHSdAb61qEckrsLMg+s-hnWHb0HLna@mail.gmail.com>
On Sat, Feb 5, 2011 at 5:39 AM, Junio C Hamano <gitster@pobox.com> wrote:
> While you are talking about drastic reorganization (and rewriting the ref > code to support it), another possible Sub-proposal we may want to consider > is to allow "next" and "next/foo" at the same time.
Oh yeah.. how about "next/.ref" and "next/foo/.ref"? Ref search code can be modified to check both "next" and "next/.ref" when "next" is requested. Old git basically won't work with new ref style, so there's not much compatibility issue.
We can also add "next/.summary" to save a brief description of a ref. But then it would be lost in packed-refs, hm..
-- Duy