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

[PATCH 0/5] refs: stop using `the_repository`

From
Patrick Steinhardt <ps@pks.im>
Date
Jul 30, 2024, 05:22 UTC
Message-ID
<cover.1722316795.git.ps@pks.im>
Hi,

this patch series removes use of `the_repository` in the refs subsystem and drops the `USE_THE_REPOSITORY_VARIABLE` macro define from those files.

Patrick
Patrick Steinhardt (5):
  refs: stop using `the_repository`
  refs/files: stop using `the_repository` in
    `parse_loose_ref_contents()`
  refs/files: stop using `the_repository`
  refs/packed: stop using `the_repository`
  refs/reftable: stop using `the_repository`
 refs.c                  | 16 ++++++-------
 refs/files-backend.c    | 29 ++++++++++++-----------
 refs/packed-backend.c   | 14 +++++------
 refs/refs-internal.h    |  3 ++-
 refs/reftable-backend.c | 51 +++++++++++++++++++++--------------------
 5 files changed, 56 insertions(+), 57 deletions(-)
-- 
2.46.0.rc1.dirty
Next: Patrick Steinhardt
Message 1 of 12 in “refs: stop using `the_repository`”
  1. 0/5 refs: stop using `the_repository`Patrick Steinhardt, Jul 30, 2024
  2. 1/5 refs: stop using `the_repository`Patrick Steinhardt, Jul 30, 2024
  3. 2/5 refs/files: stop using `the_repository` in `parse_loose_ref_contents()`Patrick Steinhardt, Jul 30, 2024
  4. 3/5 refs/files: stop using `the_repository`Patrick Steinhardt, Jul 30, 2024
  5. 4/5 refs/packed: stop using `the_repository`Patrick Steinhardt, Jul 30, 2024
  6. Karthik NayakJul 30, 2024
  7. Patrick SteinhardtJul 31, 2024
  8. 5/5 refs/reftable: stop using `the_repository`Patrick Steinhardt, Jul 30, 2024
  9. Karthik NayakJul 30, 2024
  10. Patrick SteinhardtJul 31, 2024
  11. James LiuJul 31, 2024
  12. Patrick SteinhardtJul 31, 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.