Skip to content

Commit 79d532c

Browse files
committed
Merge branch 'jh/clean-exclude'
* jh/clean-exclude: builtin/clean.c: Use STRING_LIST_INIT_NODUP.
2 parents c2e0940 + bdab6a5 commit 79d532c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builtin/clean.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ int cmd_clean(int argc, const char **argv, const char *prefix)
4444
struct dir_struct dir;
4545
static const char **pathspec;
4646
struct strbuf buf = STRBUF_INIT;
47-
struct string_list exclude_list = { NULL, 0, 0, 0 };
47+
struct string_list exclude_list = STRING_LIST_INIT_NODUP;
4848
const char *qname;
4949
char *seen = NULL;
5050
struct option options[] = {

0 commit comments

Comments
 (0)