From: Junio C Hamano Date: Fri, 03 Jun 2011 23:22:05 GMT Subject: Re: [PATCHv5 2/4] Add infrastructure for ref namespaces Message-ID: <7vd3iua4bm.fsf@alter.siamese.dyndns.org> In-Reply-To: <1307136593-16306-3-git-send-email-jamey@minilop.net> Jamey Sharp writes: > Note that namespaces which include a / will expand to a hierarchy of > namespaces; for example, GIT_NAMESPACE=foo/bar will store refs under > refs/namespaces/foo/refs/namespaces/bar/. This makes GIT_NAMESPACE > behave hierarchically, and avoids ambiguity with namespaces such as > foo/refs/heads. I would have expected that this explanation would be improved after you having to answer my question on the list. Otherwise it was a wasted effort, for both me (asking) and you (answering). > > This adds the infrastructure for ref namespaces: handling the > GIT_NAMESPACE environment variable and --namespace option, and iterating > over refs in a namespace. Subsequent commits use this infrastructure to > implement the user-visible support for ref namespaces. > > Commit by Josh Triplett and Jamey Sharp. Also please drop that "Commit by ...". We can read Sign-off.