mirror of
https://github.com/git/git.git
synced 2024-11-18 22:14:34 +01:00
"git-tag -s" should create a signed annotated tag
The earlier patch 396865859918e9c7bf8ce74aae137c57da134610 (Make builtin-tag.c use parse_options.) broke "git-tag -s". Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
bd46c9a912
commit
c1a41b9d04
@ -398,6 +398,9 @@ int cmd_tag(int argc, const char **argv, const char *prefix)
|
||||
|
||||
argc = parse_options(argc, argv, options, git_tag_usage, 0);
|
||||
|
||||
if (sign)
|
||||
annotate = 1;
|
||||
|
||||
if (list)
|
||||
return list_tags(list == no_pattern ? NULL : list, lines);
|
||||
if (delete)
|
||||
|
Loading…
Reference in New Issue
Block a user