@matheusbsbs / matheus-bagliano / commits / c1a41b9d04
Fork 0

"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>

Junio C Hamano committed Nov 25, 2007 at 15:21 UTC c1a41b9d04d81f1c64754c933ef596045cfb99aa
1 file changed +3
builtin-tag.c
+3
@@ -398,6 +398,9 @@ int cmd_tag(int argc, const char **argv, const char *prefix)
398
399 argc = parse_options(argc, argv, options, git_tag_usage, 0);
400
401 + if (sign)
402 + annotate = 1;
403 +
404 if (list)
405 return list_tags(list == no_pattern ? NULL : list, lines);
406 if (delete)