Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'jk/verify-sig-merge-into-void'
[gitweb.git]
/
builtin
/
clean.c
diff --git
a/builtin/clean.c
b/builtin/clean.c
index 8d9a7dc20647079bc5f35b446bbbab5479abb32d..bbcdeb2d9e7f275309609a2a21a5dd4baf1cf1bd 100644
(file)
--- a/
builtin/clean.c
+++ b/
builtin/clean.c
@@
-140,6
+140,7
@@
static void clean_print_color(enum color_clean ix)
static int exclude_cb(const struct option *opt, const char *arg, int unset)
{
struct string_list *exclude_list = opt->value;
+ BUG_ON_OPT_NEG(unset);
string_list_append(exclude_list, arg);
return 0;
}