]> git.ipfire.org Git - thirdparty/git.git/commit
fast-import: add '--signed-tags=<mode>' option
authorChristian Couder <christian.couder@gmail.com>
Mon, 13 Oct 2025 08:48:57 +0000 (10:48 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 13 Oct 2025 15:51:42 +0000 (08:51 -0700)
commitd8ce08aa13b4dc6c4713ff9dc0b2ffacd5873d06
tree36fe55b376fae7392a23f93929386956bc1a142c
parent31f375c31c645f35b83427045cfef719f2e4301b
fast-import: add '--signed-tags=<mode>' option

Recently, eaaddf5791 (fast-import: add '--signed-commits=<mode>'
option, 2025-09-17) added support for controlling how signed commits
are handled by `git fast-import`, but there is no option yet to
decide about signed tags.

To remediate that, let's add a '--signed-tags=<mode>' option to
`git fast-import` too.

With this, both `git fast-export` and `git fast-import` have both
a '--signed-tags=<mode>' and a '--signed-commits=<mode>' supporting
the same <mode>s.

Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-fast-import.adoc
builtin/fast-import.c
t/meson.build
t/t9306-fast-import-signed-tags.sh [new file with mode: 0755]