git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [RFC PATCH 0/7] Implement ref namespaces as a ref storage backend

From
Richard Maw <richard.maw@gmail.com>
Date
Aug 24, 2017, 10:20 UTC
Message-ID
<20170824102016.GA2021@mimir>
In-Reply-To
<xmqqefscsqj1.fsf@gitster.mtv.corp.google.com>
On Tue, Aug 15, 2017 at 10:13:22AM -0700, Junio C Hamano wrote:
Show 19 quoted lines
> Richard Maw <richard.maw@gmail.com> 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.

Previous: Junio C HamanoNext: Michael Haggerty
Message 11 of 13 in “Implement ref namespaces as a ref storage backend”
  1. 0/7 Implement ref namespaces as a ref storage backendRichard Maw, Aug 13, 2017
  2. 1/7 Expose expand_namespace APIRichard Maw, Aug 13, 2017
  3. 2/7 Add git_configset_add_standardRichard Maw, Aug 13, 2017
  4. 3/7 Add helper for skipping namespace prefixesRichard Maw, Aug 13, 2017
  5. 4/7 Autocreate reflogs for namespaced refsRichard Maw, Aug 13, 2017
  6. 5/7 Treat namespaced HEAD and refs/bisect as per-worktreeRichard Maw, Aug 13, 2017
  7. 6/7 Add namespaced ref backendRichard Maw, Aug 13, 2017
  8. 7/7 Plumb in namespaced ref storeRichard Maw, Aug 13, 2017
  9. Stefan BellerAug 14, 2017
  10. Junio C HamanoAug 15, 2017
  11. Richard MawAug 24, 2017
  12. Michael HaggertyAug 24, 2017
  13. Richard MawAug 30, 2017

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.