From: Laurent Arnoud Date: Tue, 22 Mar 2016 20:41:26 +0000 (+0100) Subject: tag: add the option to force signing of annotated tags X-Git-Tag: v2.9.0-rc0~146^2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/61c2fe0c2984a7785e2ac803ce33e23663295b24?hp=61c2fe0c2984a7785e2ac803ce33e23663295b24 tag: add the option to force signing of annotated tags The `tag.forcesignannotated` configuration variable makes "git tag" that would implicitly create an annotated tag to instead create a signed tag. For example $ git tag -m "This is a message" tag-with-message $ git tag -F message-file tag-with-message would create a signed tag if the configuration variable is in effect. To override this from the command line, the user can explicitly ask for an annotated tag, like so: $ git tag -a -m "This is a message" tag-with-message $ git tag -a -F message-file tag-with-message Creation of a light-weight tag, i.e. $ git tag lightweight is not affected. Signed-off-by: Laurent Arnoud Signed-off-by: Junio C Hamano ---