]> Kevux Git Server - rit/commit
tag: support arbitrary repositories in gpg_verify_tag()
authorRené Scharfe <l.s.r@web.de>
Sun, 28 Dec 2025 18:10:49 +0000 (19:10 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 29 Dec 2025 13:02:53 +0000 (22:02 +0900)
commit154717b3b0b0631fb6700d5fc77e779106530fc3
tree9d8370e5e80b7df51248a16f24445ec74f4c6ab3
parente61f227d0654212412ce1835f7e432df85cfc36b
tag: support arbitrary repositories in gpg_verify_tag()

Allow callers of gpg_verify_tag() specify the repository to use by
providing a parameter for that.  One of the two has not been using
the_repository since 43a8391977 (builtin/verify-tag: stop using
`the_repository`, 2025-03-08); let it pass in the correct repository.
The other simply passes the_repository to get the same result as before.

Signed-off-by: René Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/tag.c
builtin/verify-tag.c
tag.c
tag.h