Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'jc/format-patch-error-check'
[gitweb.git]
/
builtin
/
interpret-trailers.c
diff --git
a/builtin/interpret-trailers.c
b/builtin/interpret-trailers.c
index 4b87e0dd2e8854bf940e92e3020c5e4f66e8a6bd..8ae40dec4746571cf80d2f76bbad067c33a972fa 100644
(file)
--- a/
builtin/interpret-trailers.c
+++ b/
builtin/interpret-trailers.c
@@
-80,6
+80,8
@@
static int parse_opt_parse(const struct option *opt, const char *arg,
v->only_trailers = 1;
v->only_input = 1;
v->unfold = 1;
+ BUG_ON_OPT_NEG(unset);
+ BUG_ON_OPT_ARG(arg);
return 0;
}