Browse Source

"git-tag -s" should create a signed annotated tag

The earlier patch 3968658599 (Make
builtin-tag.c use parse_options.) broke "git-tag -s".

Signed-off-by: Junio C Hamano <gitster@pobox.com>
maint
Junio C Hamano 17 years ago
parent
commit
c1a41b9d04
  1. 3
      builtin-tag.c

3
builtin-tag.c

@ -398,6 +398,9 @@ int cmd_tag(int argc, const char **argv, const char *prefix) @@ -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…
Cancel
Save