Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
rebase-interactive: rewrite edit_todo_list() to handle the initial edit
[gitweb.git]
/
builtin
/
tag.c
diff --git
a/builtin/tag.c
b/builtin/tag.c
index 6a396a5090f1e6cf0ed73f001a6bef006789b26f..02f6bd1279d9c360f97d04ebba0b1f88ff2f27e1 100644
(file)
--- a/
builtin/tag.c
+++ b/
builtin/tag.c
@@
-338,6
+338,8
@@
static int parse_msg_arg(const struct option *opt, const char *arg, int unset)
{
struct msg_arg *msg = opt->value;
+ BUG_ON_OPT_NEG(unset);
+
if (!arg)
return -1;
if (msg->buf.len)