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

Allow callers of parse_tag() pass in the repository to use.  Let most of
them pass in the_repository to get the same result as before.  One of
them has stopped using the_repository in ef9b0370da (sha1-name.c: store
and use repo in struct disambiguate_state, 2019-04-16); let it pass in
its stored repository.

Signed-off-by: René Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/describe.c
builtin/pack-objects.c
fsck.c
object-name.c
ref-filter.c
tag.c
tag.h
walker.c