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

[PATCH 0/2] refs: stylistic improvements to ref migration optimization

From
Patrick Steinhardt <ps@pks.im>
Date
Nov 25, 2024, 07:34 UTC
Message-ID
<20241125-pks-refs-migration-optimization-followup-v1-0-0e1b4a2af384@pks.im>
Hi,

this small patch series addresses some stylistic nits surfaced in the review of ps/ref-backend-migration-optim. v3 of that series and the merge to `next` have crossed, so I'm resending the changes from v3 on top of what we have in `next`.

This version is built on top of 6ea2d9d271 (Sync with Git 2.47.1, 2024-11-25) with ps/ref-backend-migration-optim at d94ac23d3b (reftable/block: optimize allocations by using scratch buffer, 2024-11-20) merged into it.

Thanks!
Patrick
---
Patrick Steinhardt (2):
      refs: adapt `initial_transaction` flag to be unsigned
      reftable: rename scratch buffer
 refs.c            |  2 +-
 refs.h            |  2 +-
 reftable/block.c  | 10 +++++-----
 reftable/block.h  |  3 ++-
 reftable/writer.c | 22 +++++++++++-----------
 reftable/writer.h |  3 ++-
 6 files changed, 22 insertions(+), 20 deletions(-)

--- base-commit: a468246cedfb3b54b03609be75d9e13f0be1cc29 change-id: 20241125-pks-refs-migration-optimization-followup-d766e86b8925

Next: Patrick Steinhardt
Message 1 of 6 in “refs: stylistic improvements to ref migration optimization”
  1. 0/2 refs: stylistic improvements to ref migration optimizationPatrick Steinhardt, Nov 25, 2024
  2. 1/2 refs: adapt `initial_transaction` flag to be unsignedPatrick Steinhardt, Nov 25, 2024
  3. Junio C HamanoNov 26, 2024
  4. 2/2 reftable: rename scratch bufferPatrick Steinhardt, Nov 25, 2024
  5. Christian CouderNov 25, 2024
  6. Junio C HamanoNov 25, 2024

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.