On Tue, Aug 15, 2017 at 10:13:22AM -0700, Junio C Hamano wrote: > Richard Maw <richard.maw@xxxxxxxxx> writes: > > > This is not my first attempt to improve the git namespace handling in git. > > I tried last year, but it took me so long that all the ref handling code changed > > and I would have had to start from scratch. > > > > Fortunately the pluggable ref backends work provided an easier starting point. > > Yeah, I also made an ultra-brief foray into ref backends a few weeks > ago, and found that Michael did an excellent job identifying the > building blocks backends may want to implement differently and > abstracting out major parts of the ref processing. I also hit some > of the same issues you mention, e.g. "HEAD" and other funny refs. > > I do suspect that the current GIT_NAMESPACE thing may have outlived > its usefulness and with the pluggable ref backend thing in place, we > may want to redesign how support for multiple views into the same > repository is done. I do not have a need for such a thing myself, > but I am glad somebody is looking into it ;-) It was great to be able to get something mostly working this time around, which would not have been possible without the pluggable ref backends. I've no intention of giving up just yet, though it'll be a while before I can devote significant time to it. I'll be keeping an eye on the refdb backend. If it in the process fixes the issues I'd been having that'd be so much better since I've not got the time or community standing to champion big changes.