projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd46c9a
)
"git-tag -s" should create a signed annotated tag
author
Junio C Hamano
<gitster@pobox.com>
Sun, 25 Nov 2007 23:21:42 +0000
(15:21 -0800)
committer
Junio C Hamano
<gitster@pobox.com>
Sun, 25 Nov 2007 23:47:29 +0000
(15:47 -0800)
The earlier patch
396865859918e9c7bf8ce74aae137c57da134610
(Make
builtin-tag.c use parse_options.) broke "git-tag -s".
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-tag.c
patch
|
blob
|
history
diff --git
a/builtin-tag.c
b/builtin-tag.c
index 3a6467d8ed62e7fd9ae98d08a24994171fa7787a..114c684d246e975852bb5446ea2e7ab682ea036c 100644
(file)
--- a/
builtin-tag.c
+++ b/
builtin-tag.c
@@
-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)