We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c2e0940 + bdab6a5 commit 79d532cCopy full SHA for 79d532c
1 file changed
builtin/clean.c
@@ -44,7 +44,7 @@ int cmd_clean(int argc, const char **argv, const char *prefix)
44
struct dir_struct dir;
45
static const char **pathspec;
46
struct strbuf buf = STRBUF_INIT;
47
- struct string_list exclude_list = { NULL, 0, 0, 0 };
+ struct string_list exclude_list = STRING_LIST_INIT_NODUP;
48
const char *qname;
49
char *seen = NULL;
50
struct option options[] = {
0 commit comments