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

Reftable progress

From
Han-Wen Nienhuys <hanwen@google.com>
Date
Jun 22, 2020, 22:03 UTC
Message-ID
<CAFQ2z_NZbg4YoTo1vPaikfwYLMRZrx59bDMaeuczuJW2OG86DQ@mail.gmail.com>
Hi there,

I wanted to give a few updates on reftable. I'm posting a new version of the patch series separately. It has a number of interesting improvements

* The source in the git tree now uses the strbuf library, which was
the largest stumbling block for integration.
*  The code is still completely self-contained (the
REFTABLE_STANDALONE #define includes 100 lines worth of strbuf
compatible code; enough to run the unittests.)
*  The number of test failures has dipped below 1000.

I would like to post the next version on top of Phillip's patches that make ref_xxx functions take a struct repository* argument. Is there a branch that I can target for rebasing?

The bottom 2 commits should be OK to merge as is into next. ("checkout: add '\n' to reflog message", "lib-t6000.sh: write tag using git-update-ref")

The major open question is how to handle per-worktree refs. My idea is that, on creation, the reftable backend can figure out if it is running in a worktree or in the main repository. If it is running in worktree X, we could read/write pseudorefs as ~X/PSEUDO_REF.

Could we discuss next steps for merging at least the library? I think that would solve one of the major complaints, which is that history is kept in a separate repository.

-- 
Han-Wen Nienhuys - Google Munich
I work 80%. Don't expect answers from me on Fridays.
--
Google Germany GmbH, Erika-Mann-Strasse 33, 80636 Munich
Registergericht und -nummer: Hamburg, HRB 86891
Sitz der Gesellschaft: Hamburg
Geschäftsführer: Paul Manicle, Halimah DeLaine Prado
Next: Han-Wen Nienhuys
Message 1 of 3 in “Reftable progress”
  1. Han-Wen NienhuysJun 22, 2020
  2. Han-Wen NienhuysJun 29, 2020
  3. Junio C HamanoJun 29, 2020

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.