Commits

Anonymous committed 79d532c Merge

Merge branch 'jh/clean-exclude'

* jh/clean-exclude:
builtin/clean.c: Use STRING_LIST_INIT_NODUP.

Comments (0)

Files changed (1)

 	struct dir_struct dir;
 	static const char **pathspec;
 	struct strbuf buf = STRBUF_INIT;
-	struct string_list exclude_list = { NULL, 0, 0, 0 };
+	struct string_list exclude_list = STRING_LIST_INIT_NODUP;
 	const char *qname;
 	char *seen = NULL;
 	struct option options[] = {