diff options
author | Laurent Arnoud <laurent@spkdev.net> | 2016-03-22 21:41:26 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-03-22 15:13:40 -0700 |
commit | 61c2fe0c2984a7785e2ac803ce33e23663295b24 (patch) | |
tree | e455e82404e939e76f7e61e0ed4f1b273cb652cc /Documentation | |
parent | 808ecd4cca75acac5e4868f15d3e647fc73698d3 (diff) | |
download | git-61c2fe0c2984a7785e2ac803ce33e23663295b24.tar.gz git-61c2fe0c2984a7785e2ac803ce33e23663295b24.tar.xz |
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 <laurent@spkdev.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/config.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/config.txt b/Documentation/config.txt index 2cd6bdd7d..95d5c9dbf 100644 --- a/Documentation/config.txt +++ b/Documentation/config.txt @@ -2729,6 +2729,11 @@ submodule.<name>.ignore:: "--ignore-submodules" option. The 'git submodule' commands are not affected by this setting. +tag.forceSignAnnotated:: + A boolean to specify whether annotated tags created should be GPG signed. + If `--annotate` is specified on the command line, it takes + precedence over this option. + tag.sort:: This variable controls the sort ordering of tags when displayed by linkgit:git-tag[1]. Without the "--sort=<value>" option provided, the |