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

[PATCH 0/4] tag: stop using the_repository

From
René Scharfe <l.s.r@web.de>
Date
Dec 28, 2025, 18:10 UTC
Message-ID
<20251228181051.68724-1-l.s.r@web.de>

Push the use of the_repository and the_hash_algo from the tag functions to their callers. Also converts some cases of implicit use, which seem unintended.

  tag: use algo of repo parameter in parse_tag_buffer()
  tag: support arbitrary repositories in gpg_verify_tag()
  tag: support arbitrary repositories in parse_tag()
  tag: stop using the_repository
 builtin/describe.c     |  6 +++---
 builtin/pack-objects.c |  2 +-
 builtin/tag.c          |  2 +-
 builtin/verify-tag.c   |  2 +-
 fsck.c                 |  2 +-
 object-name.c          |  2 +-
 ref-filter.c           |  2 +-
 tag.c                  | 27 ++++++++++++++-------------
 tag.h                  |  4 ++--
 walker.c               |  2 +-
 10 files changed, 26 insertions(+), 25 deletions(-)
-- 
2.52.0
Next: René Scharfe
Message 1 of 6 in “tag: stop using the_repository”
  1. 0/4 tag: stop using the_repositoryRené Scharfe, Dec 28, 2025
  2. 2/4 tag: support arbitrary repositories in gpg_verify_tag()René Scharfe, Dec 28, 2025
  3. 3/4 tag: support arbitrary repositories in parse_tag()René Scharfe, Dec 28, 2025
  4. 4/4 tag: stop using the_repositoryRené Scharfe, Dec 28, 2025
  5. 1/4 tag: use algo of repo parameter in parse_tag_buffer()René Scharfe, Dec 28, 2025
  6. Kristoffer HaugsbakkDec 30, 2025

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.