public inbox for git@vger.kernel.org 
 help / color / mirror / Atom feed
From: "René Scharfe" <l.s.r@web•de>
To: git@vger•kernel.org
Subject: [PATCH 0/4] tag: stop using the_repository
Date: Sun, 28 Dec 2025 19:10:47 +0100	[thread overview]
Message-ID: <20251228181051.68724-1-l.s.r@web.de> (raw)

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


             reply	other threads:[~2025-12-28 18:10 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-12-28 18:10 René Scharfe [this message]
2025-12-28 18:10 ` [PATCH 1/4] tag: use algo of repo parameter in parse_tag_buffer() René Scharfe
2025-12-30 16:51   ` Kristoffer Haugsbakk
2025-12-28 18:10 ` [PATCH 2/4] tag: support arbitrary repositories in gpg_verify_tag() René Scharfe
2025-12-28 18:10 ` [PATCH 3/4] tag: support arbitrary repositories in parse_tag() René Scharfe
2025-12-28 18:10 ` [PATCH 4/4] tag: stop using the_repository René Scharfe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20251228181051.68724-1-l.s.r@web.de \
    --to=l.s.r@web$(echo .)de \
    --cc=git@vger$(echo .)kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox